TheSwamp

Code Red => .NET => Topic started by: djee on December 20, 2016, 05:30:56 PM

Title: Using SelectionSet from within SideDatabase
Post by: djee on December 20, 2016, 05:30:56 PM
Can we use SelectionSet (which involve the EditorInput) from within a side database? I was thinking I could maybe pass in my own point3d for the SelectCrossingWindow without asking for user input. Of course I`m having no luck... My goal is to copy all objects in a paperspace defined area to another layout within the same drawing (using sideDatabase for faster implementation...). If it`s not possible I guess I`ll have to iterate through all objectsId in my layouts, check if Extents3D fits within my area & then proceed with the clone... Anybody has a suggestion?
Title: Re: Using SelectionSet from within SideDatabase
Post by: gile on December 21, 2016, 02:54:05 AM
Can we use SelectionSet (which involve the EditorInput) from within a side database?
Definitively: no.
Title: Re: Using SelectionSet from within SideDatabase
Post by: djee on December 21, 2016, 10:46:04 AM
That explain a lot. Thanks for the clarification!
Title: Re: Using SelectionSet from within SideDatabase
Post by: Keith Brown on December 21, 2016, 10:50:28 AM
A side database has no editor.  Not much to explain after that.
Title: Re: Using SelectionSet from within SideDatabase
Post by: gile on December 21, 2016, 01:19:04 PM
That explain a lot. Thanks for the clarification!

Sorry if you find I was rough, but 'side database' stands for: database outside the editor.
Title: Re: Using SelectionSet from within SideDatabase
Post by: djee on December 22, 2016, 01:39:04 PM
Quote
Sorry if you find I was rough
No, absolutely not! I still consider myself a rookie and my question must seems to come from a cavemen from your perspective... I really do appreciate all the feedback!! Thanks again... Just trying to get better at this...