Find is DWG file is 2D or 3D

Find is DWG file is 2D or 3D

btmsoftware
Advocate Advocate
613 Views
2 Replies
Message 1 of 3

Find is DWG file is 2D or 3D

btmsoftware
Advocate
Advocate

How does one find out if the current drawing is a 2D or 3D drawing in VBA.

It's probably something simple I missed so please, excuse my ignorance.

 

0 Likes
Accepted solutions (1)
614 Views
2 Replies
  • 3d
Replies (2)
Message 2 of 3

norman.yuan
Mentor
Mentor
Accepted solution

You can simple look at system variable EXTMAX and EXTMIN for their Z values. if the two Z values are different, the entities are not all in the same plane.

 

Norman Yuan

Drive CAD With Code

EESignature

Message 3 of 3

btmsoftware
Advocate
Advocate

Thanks,

I knew it was something simple. I guess it's time to reboot my brains😉

0 Likes