I would like to set the mode from Solid to Wireframe via API. I haven't find in manual the function that does that (maybe I missed it):
I'm trying to show all peak spots in my model. To be able to see small spots I need to use Wireframe mode:
Is this possible via API at all? How it can be done?
Solved! Go to Solution.
There is no way to just call Wireframe, however you can accomplish the same thing using the View Object.
The following code shows how to do it.
The HTML Clipboard
Sub Main Dim App As femap.model Set App = feFemap() Dim vuID As Long Dim v As femap.View Set v = App.feView App.feAppGetActiveView( vuID ) v.Get(vuID) v.Mode = FVM_DRAW v.Draw(FVI_FILL_ELEM) = False v.Draw(FVI_SHADING) = False v.Put(vuID) v.Regenerate() End Sub