- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I have an add-in where I create components based on a few inputs and I create preview using execute preview event. One of the inputs is a selection input with selection filter for e.g., faces. The problem is that whenever the add-in creates the preview I can still select some faces of the components created in the preview. Effect is that it causes disappearing of the preview components like the preview was never executed. Also sometimes selection input accepts components from the browser regardless of selection filters. If it happens, add-in crashes.
Solution to those problems would be generating something like a "ghost" components during preview - they wouldn't be selectable and wouldn't appear in browser. Only after clicking "OK" button they would be generated and appeared in the browser. That's the way it is done e.g., in the "Extrude" command when the "new body" or "new component" option is chosen, but I have absolutely no idea how to achieve it.
Maybe you can suggest other solution/going another way?
Solved! Go to Solution.