Valued Contributor
Posts: 69
Registered: ‎12-03-2006
Message 1 of 1 (144 Views)

How to prevent hatch.Area from crashing?

144 Views, 0 Replies
10-19-2010 10:57 AM

Sometimes you can't get the area from a hatch, either using LIST command or in Properties.


In my code I get the area with the .Area property, but if it is a hatch that you can't get the area from, this will crash my program. How to prevent that?

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.