Sub Example_HatchAreas() Dim oSset As AcadSelectionSet Dim oHatch As IAcadHatch2 Set oSset = ThisDrawing.SelectionSets.Add("TEST_SSET1") oSset.SelectOnScreen For Each oHatch In oSset Debug.Print oHatch.Area Next End Sub
AutoCAD, AutoCAD Architecture (ACA/ADT), Revit Architecture, Revit MEP, Revit Structure, BIM, CAD, AutoLISP, VBA, VB, VB.NET, C#, databases, Access, SQL Server, FlexNet (FLEXlm), license usage reporting, software design, development, customization, integration...
Monday, April 11, 2005
AutoCAD 2006 and access to the hatch area using API
The area is available but the property is available using the IAcadHatch2 interface.
Here is a small sample in VBA showing it.
Subscribe to:
Post Comments (Atom)
Some of the latest blog posts
Contact Us
| About JTB World |
Website General Terms of Use |
Privacy Policy
^ Top of page
© 2004- JTB World. All rights reserved.
No comments:
Post a Comment