How to suppress "Export with Preview Visibility" dialog through API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I have a family which contains multiple types and each type has different color and a different view as a result. When I change doc.FamilyManager.CurrentType in Family Editor View, the new type's visual features are not visible, therefore I use PreviewFamilyVisibilityMode.On to see the differences.
The reason I need this is to be able to export each type as OBJ and see them in a viewer later on. But when I toggle on the PreviewFamilyVisibilityMode, then export the OBJ through API, I receive the following dialog for each export of the family type, since the PreviewFamilyVisibilityMode is on:
Is there any possibiltiy to suppress this dialog through the API? I would like to go with the second option all the time ("Leave the Preview Visibility mode on and export"). Or preferably any other way to have the unique visibility of each type of the family without using PreviewFamilyVisibilityMode?
Thank you in advance for the answers!