简体   繁体   中英

Add entity to layer sketchup ruby api

I've been searching for a while now on the internet how to add a certain entity to a layer in the ruby api but can't seem to find how to do this. Is there anybody that can help me?

Thanks in advance Arne

Try the Drawingelement.layer= method. The sample code there should help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM