Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

Selecting a tool for object insertion

$
0
0
Author:Ralph Wessel
Posted: Tue Feb 09, 2016 12:08 am (GMT+1)


gehairing wrote:
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

Take a look at the following API functions:
1) APIEnv_SetToolBoxModeID to set the active tool, and …
2) ACAPI_Element_ChangeDefaults to set the object to be placed
_________________
Ralph Wessel
Cadimage


Viewing all articles
Browse latest Browse all 564


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>