OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: chauhuh on July 19, 2016, 05:13:14 PM

Title: dwg_preview question
Post by: chauhuh on July 19, 2016, 05:13:14 PM
Is it possible to have an interactive dwg_preview window where a user can actually select objects in the window?

I want to be able to select an object from the window, grab its layername, and then change the current layer in the open drawing. Possible?

Thanks.
Title: Re: dwg_preview question
Post by: owenwengerd on July 19, 2016, 07:43:29 PM
Sure, it's possible, but probably not very practical because you have to write all the code yourself. Maybe it wouldn't be too bad if you only have a few known objects at fixed locations, but regardless, it's no simple task to handle user interactivity for entity selection.
Title: Re: dwg_preview question
Post by: chauhuh on July 20, 2016, 10:17:29 AM
Thanks Owen. I'll try a simpler route then.