Code Red > .NET

Xref Layers

(1/1)

nobody:
Would like to check if a layer is from an xref but not iterate through the xref roots or check for "|" in the name.

Anyone know if there are members or properties in layers that will let me identify if it is from an xref (or another method)?

nobody:
Nevermind :) Abandoning the path for a new one.

Nightcrawler:
For anyone else looking for this:

If a layer is not dependent it is a layer in the current drawing:


--- Code: ---layer.IsDependent == false
--- End code ---

Navigation

[0] Message Index

Go to full version