I want to make the automated image update.
So I want to highlight few elements and take the image. So the question is how to make the other elements as transparent and highlight the selected elements before taking the image?
I want to do window > show entities (tansparent highlight) in FEMAP using API
Can anybody help me on this?
Use the app.feViewShow method. For example:
The HTML Clipboard
Sub Main Dim App As femap.model Set App = feFemap() Dim rc As femap.zReturnCode Dim eSet As femap.Set Set eSet = App.feSet rc = eSet.Select ( FT_ELEM, True, "Select Elements to Highlight" ) If rc <> FE_OK Then End End If App.Info_ViewShowTransparent = True App.feViewShow ( FT_ELEM, eSet.ID ) End Sub
I'm ok with the option to highlight the Element set. But not able to set th epreferences for highlighting.
Like Transparent highlight and Show Label ID
Help > API > 3.3.2 > look for Info_ViewShowLabel
as for the others
Help > API > 3.3.4 > look for Info_ViewShowblablabla
Chip's code works fine for me, with the same version of FEMAP as yours.
Your best bet in 11.1.0 would be to set Transparent Highlight in Preferences > User Interface. Every new model will have Transparent Highlight on as the default.
For your current session just turn Transparent Highlight on from Window > Show Entities and you should not have to ever set it again.