|
|
|
In the context of 'at drawing open'... The former is going to be the simplest for you to implement & maintain by far, and happens to offer the best performance as well, generally speaking.
If I always want 'these' layers to be included within any drawing (or any drawing located in this sub-folder, or that contains this in the file name), then only import from this, and that .CSV file... As compared to iterate all layers in this single, monolithic .CSV file that has each-and-every-single possible layer we could ever think to use, and only bring in those that match 'X".
Separately, to offer user Command option, instead of reinventing the wheel here, go with something like Lee's Steal routine... Which in full disclosure can also be used as a sub-function, but has the added overhead of ObjectDBX, etc. which I'd personally not opt for at drawing open specifically. Great in-session drawing editing tool otherwise.
Cheers
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
I'd be interested in a race BB.
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
Haha. Yeah don't get too excited; users here are mean and I have sensitive feelings [ :P ].
Race to see who's routine(s) can create a bucket full of layers the quickest--I had a test (at the time I created mine) that contained 10,000 layers but that's long gone so we will have to create more tests-. I figure since mine uses a brick-ton of vanilla and yours looks like it's all VL we can race 'em and see which is faster (entmake vs VL-...).
BTW, What's with this notice, every time I post, that my post won't be visible until it's approved by a mod? 0.o
C:> ED WORKING.... ▒
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000