Is there a fast way to create a solids XFM 3D. I have a file where there are hundreds of solids. I would like to create a 3D project XFM, without clicking on each individual (drop and create) vba or mdl? I prefer vba :)
regardsadrian
Hi. This seems like a good idea. The way I normally do it manually for testing purposes is to use the Microstation "drop" command to drop the solid into a set of faces. I then select those faces and use the feature class's promote method to make an XFM feature out of the set of faces.
I suggest that you look into the Microstation drop command and see what apis are available to do this. I think you could write a program that processes your solids one at a time: dropping it, creating a selectionSet out of the faces of one solid and launching the promote command by sending a keyin such as "activate method FEATURENAME|Promote". If this keyin prompts for user input you could probably give it the inputs using other keyins.
Note that this has not been tried, these are just suggestions.
Thanks,
Martin
Hi Martin,
I think it might be a good direction to create applications.
Permit me, that I will take advantage of your suggestions :)
regards
adrian