Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

batch process coordinates and view

UserPost

4:21 am
September 16, 2011


lorys

Australia

Member

posts 13

the batch processor will let create a script file to be run 

the script that will help you rotate the views back to normal and save the changes

is below the firat part rotates the view to top which is always unrotated, the second part saves having send a data point into view 1 the basic default we we all work in the last part saves the settings and  changes permanently …

vi=top;selview 1;filedesign

Not sure how you can make all elements x values suddenly negative  it would most likely be a vba custom built..

I experimented with the ancillary coordinate system I just  made the

x =-10,000,000 and the y=0 ( instead of  x=0 and y= 0)

this results all elements  -10, 000,000 + x original values =changing by difference BY x of – value..

eg if original xy= 1000000,1000000 would become -9000000,1000000

I used 10 million so as to make sure all elements would become negative x

this assumes that all your elements are much smaller than + 10Million hence all x must come out negative.. so if the values don`t really mean anything to you and  you just want to shift them a relative amount into the negative quadrant this would work..

So now I think you could record a vba macro to change the ancillary coordinate system.. and  batch process that …

Hope this was of help .. it was a real fun challenge but I don`t think the neg  coord part was what you really wanted… try posting to BE user group at bentley…

10:11 am
June 21, 2011


ragupo

New Member

posts 1

I have 800+ files that I need to rotate back to "no rotation" and make all x-coordinates negative. Any ideas?


About the MicroStation Tips Forum

Forum Timezone: UTC -4

Most Users Ever Online: 71

Currently Online:
2 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 15
Topics: 388
Posts: 556

Membership:

There are 544 Members
There has been 1 Guest

There are 4 Admins

Top Posters:

lorys – 13
diana – 7
noe – 5
dac – 5
Rightofway – 5
ngpm515 – 4

Recent New Members: dedwards04, DjD-567, martin, er.jigneshkumar@gmail.com, Arctic Frost, pdas

Administrators: MicroStation User (275 Posts), Calvin and Hobbs (105 Posts), MicroStation Tips (2 Posts), Hector V (1 Post)



 

Comments are closed.