Change PromptForFamilyInstancePlacementOptions during PromptForFamilyInstancePlacement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
i have a question about the usage of this API command.
If i start the command from my plugin i cannot change the family placement: OnVerticalFace, OnFace and OnWorkPlane, or Default (the ribbon button in the ribbonbar).
I tried giving "hardcoded" the kind of placement, but i'm a little far from my aim.
I'd like to or unlock the buttons in the ribbonbar, or if it's possible allow to the user to change the option clicking a custom button.
The problem is that when i try to do so, the application throws me some exceptions as Invalid Operation. My idea was to cancel the previous command and launch a new one, but it seems like it's impossible to do.
Does someone have any idea?
I'd like to understand if the "hardcoded" way is the only one.
Unfortunately, i know there are four enums, but i don't know if i can map correctly with the host selection of families and i'd like to allow the user to select the host running my command.
Thank you
Giorgio