Archicad C++ API
About Archicad add-on development using the C++ API.

How to call and place a GDL element with API functions?

Archein
Participant

Hi everyone, I have some problems with the method to place a GDL object. Should I use ACAPI_​Element_​Create function? 

 
1 ACCEPTED SOLUTION
1 REPLY 1
Solution
Mihaly Palenik
Graphisoft
Graphisoft

Hello,

 

yes you can use ACAPI_Element_Create to place a GDL element. First you have to set API_Element's object data member (API_ObjectType). object.libInd data member identifies gdl element. To determine library index by its name you can use ACAPI_Libpart_Search.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!