DrawingBalloonAllCmd

DrawingBalloonAllCmd

Anonymous
Not applicable
544 Views
3 Replies
Message 1 of 4

DrawingBalloonAllCmd

Anonymous
Not applicable
Hi,

1) I am trying to automate the process of autoballooning functionality using API and controldefinitions. I am able to open the autoballoon window using "DrawingBalloonAllCmd" command but how do I select the parts present in a view for which I want balloons. I want this selection process to be by the program and not by the user clicking the mouse. "DrawingAutoBalloonSelectAll" is doing nothing.

2) Can you suggest a place where I can find documentation on control definitions.

Thanks for the help you are providing.
0 Likes
545 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
When you execute a control definition it's the exact equivalent of clicking
on a button. In both cases the result is the execution of a command. There
isn't any support to interact with that command once it has started. There
are a handful of commands that will use existing data and so are a bit more
friendly to be driven from the API but these are the exception. For
example, some commands will use the entities in the current selection and
for some of the file related commands you can use the
CommandManager.PostPrivateEvent to pre-populate a filename and they'll use
that filename instead of displaying a file dialog. Most commands however
will display a dialog to get user input. There's not any support for
interacting with this dialog and driving the command via the API. The
equivalent is to have an API call the provides the same functionality.
Unfortunately the Balloon All command does not have an API equivalent.
--
Brian Ekins
Autodesk Inventor API.
0 Likes
Message 3 of 4

Anonymous
Not applicable
Brian thanks for the information.
1) Can you tell me what the "DrawingAutoBalloonSelectAll" command does?
2)Where can I find help or documentation regarding the what each command does? For example where will find info regarding the purpose of "DrawingAutoBalloonSelectAll" command?
0 Likes
Message 4 of 4

sanganaksakha
Advocate
Advocate

I know its an old thread. It was in 2008 and we are in 2019 now. But I still could not find the answer:

Does the Balloon All command ("DrawingBalloonAllCmd") still not have an API equivalent?