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

Add-on development (API DevKit 21)

$
0
0
Author:dfintha
Posted: Thu Aug 10, 2017 12:01 pm (GMT+1)


Hello,

If I understand you well, you'd like to reuse the settings of a previously placed Wall instance to create similar new ones.
This can be done by creating a favorite with the ACAPI_Favorite_Create function, and then using it to fill the default
settings of a new element with the ACAPI_Favorite_GetDefaults function.
If you want to reuse the settings directly without creating a favorite, you can use the ACAPI_Element_Change function
with the withdel argument set to false. This way, the function creates a copy of the wall, and applies the changes to
the copied element.

Best regards,
Dé nes


Viewing all articles
Browse latest Browse all 564

Trending Articles



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