Selecting a tool for object insertion
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-02-08
04:26 PM
- last edited on
2023-07-12
09:12 PM
by
Doreena Deng
2016-02-08
04:26 PM
Hello 
I have an Addon that let's me download objects (.gsm, .dor etc...).
After downloading the object the user want's to insert the downloaded object in the current model.
To do this correctly, the user must select the right tool depending on the object's type. (The Windows tool to insert windows into a wall, the Stairs tool to place a stair...).
Is there an API that allows me to do that for the user so that after the download of the object Archicad is in the right mode for the insertion of that object.
Thanks for the help 😉

I have an Addon that let's me download objects (.gsm, .dor etc...).
After downloading the object the user want's to insert the downloaded object in the current model.
To do this correctly, the user must select the right tool depending on the object's type. (The Windows tool to insert windows into a wall, the Stairs tool to place a stair...).
Is there an API that allows me to do that for the user so that after the download of the object Archicad is in the right mode for the insertion of that object.
Thanks for the help 😉
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-02-09 12:08 AM
2016-02-09
12:08 AM
gehairing wrote:Take a look at the following API functions:
I have an Addon that let's me download objects (.gsm, .dor etc...).
After downloading the object the user want's to insert the downloaded object in the current model.
To do this correctly, the user must select the right tool depending on the object's type. (The Windows tool to insert windows into a wall, the Stairs tool to place a stair...).
Is there an API that allows me to do that for the user so that after the download of the object Archicad is in the right mode for the insertion of that object
1)
2)
Ralph Wessel BArch
Central Innovation
Central Innovation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-02-09 09:06 AM
2016-02-09
09:06 AM
Thanks a lot Ralph 
The "APIEnv_SetToolBoxModeID" is what i didn't find.
For placing the object in the model, i have already the code.
It uses "ACAPI_Element_ChangeDefaults" and works perfectly.
Have a nice day.

The "APIEnv_SetToolBoxModeID" is what i didn't find.
For placing the object in the model, i have already the code.
It uses "ACAPI_Element_ChangeDefaults" and works perfectly.
Have a nice day.