dwg_preview question

Started by chauhuh, July 19, 2016, 05:13:14 PM

Previous topic - Next topic

chauhuh

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.

owenwengerd

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.

chauhuh

Thanks Owen. I'll try a simpler route then.