Quantcast
Viewing all articles
Browse latest Browse all 564

Add-on development (API DevKit 21)

Author:Cedric Tran
Posted: Thu Aug 10, 2017 1:18 pm (GMT+1)


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


Hello,
Thank you for your answer. I talked to my friend and he would like to get information from a wall (length,height,number of windows, position, etc...) and then, I will draw it in GDL. To sum up, I need a fonction that would allow me to get this information in order to use it in GDL code.
I'm still searching but if you have an idea, it would be great ! Image may be NSFW.
Clik here to view.
Wink

Best regards.


Viewing all articles
Browse latest Browse all 564

Trending Articles



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