Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

sphere plotting in a script file

Status
Not open for further replies.

SimonRud

Petroleum
Nov 3, 2014
4
Hello
I am new to MicroStation and am trying to create script files that can plot points, text and spheres.

After a lot of head scratching I've come up with:

place sphere
xy=10,10,10; DL=2.0
xy=20,10,0; DL=2.0

This appears to plot the sphere centre at XY coordinates and forces the radius to be 2.

Is this OK or am I missing something which could cause an error?

The key-in help just gives a "Place Sphere Icon" which displays the setting dialog. Without editing the dialog the wrong datum could be use (centre, diameter etc), whereas the "place sphere" command appears to automatically use the centre.

Oh and one last question. To finish text entry in a script is "Null" the standard method.ie

TX=10; Place Text;
Hello World; xy=0,0,0
Goodbye; xy=10,0,0
null

Many thanks.
 
Replies continue below

Recommended for you

That is great. Thanks Bob.

It was just that I had only started learning MicroStation in the past 2 days.

Just a note for newbies like me, but don't leave a gap between the equals and co-ordinates ie
xy= 10.0, 10,0 (should be xy=10, ...). Took me ages to work out why my first script to plot points wouldn't work.

Simon R
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor