Hi!
after hours of searching and reading in Help-Files... here i am.
I want to create 3D smartsolid-elemets from a textfile in MS via VBA - because i read the datas from the elements in a ascii file.
e.g. in the Textfile ist the following code:
Element length with hight x y z oriantation(vector)
BOX 100 200 400 23,233 11,234 33,00 0 0 0
CONE 200 400 ........aso.
???? What is the way???
Many thx
Norbert
Norbert_Frank: I want to create 3D SmartSolid elements via VBA …
I want to create 3D SmartSolid elements via VBA …
Unfortunately MicroStation VBA has very few 3D objects. It doesn't do SmartSolids, and it has nothing that corresponds to MDL's Kernel-Independent API.
About all you can do is issue commands that construct 3D objects. Record a macro while you construct a cone, slab, etc. and examine the resulting code. recording a VBA macro
Regards, Jon Summers LA Solutions
If you just like to know how it works in MDL, but don't like to learn it, I have posted one VBA example for another contributor. There you can see, that you will be happy with commands :-) since MDL is much more complex... link: Dealing with solids in VBA
Dan