BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.

Call Archicad Wall command from own dialog

Lawoks
Contributor

Hi Experts,

I was searching for similar topic, but did not find the answer.

Is it possible to run a typical command, e.g. draw wall from a custom dialog?
Example:
- list field
- insert key
1. I select a wall from the list of existing walls
2. I press the button insert wall = I invoke the Archicad command.
An example from the SDK: Element_Test -> Create Curve Wall does not simulate a wall during insertion, and the Archicad command even has a drawing method selection panel.
Sorry if the question is naive, this is my first steps with Archicad SDK

all the best

Slawek

1 REPLY 1
Lawoks
Contributor

I found a suitable example in SDK.

It works properly for: window (return DWRC), door (return ROOD) , lamp (return HGIL)

For wall or column WriteReport return empty space (simply nothing)

Here is the link to the Example code from SDK:  APIEnv_​SetToolBoxModeID 

and code - I sign the line which return "nothing"

Zrzut ekranu 2023-02-24 011920.jpg

Do you have any advice pls?

regards

Slawek

Learn and get certified!