Message 1 of 1
Boolean Method (ActiveX) on three region
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
is it possible to perform Boolean Method (ActiveX) object.Boolean(Operation, Object) on three regions in same time ?
how i can adjust Line 25 in code below to get result as per screen show below (Cyan Hatch Area)
'GetEnt
Dim Tile As AcadLWPolyline
Dim Room As AcadLWPolyline
Dim RoomIsland As AcadLWPolyline
MyDWG.Utility.GetEntity Tile , pp, "Select a polyline for Tile: "
MyDWG.Utility.GetEntity Room, pp, "Select a polyline For Room: "
MyDWG.Utility.GetEntity RoomIsland, pp, "Select a polyline for Island: "
Dim RegionRoom As Variant
Dim RegionRoomIsland As Variant
Dim RegionTile As Variant
' set Region to match poly object
RegionRoom = MyDWG.ModelSpace.AddRegion(Room)
RegionRoomIsland = MyDWG.ModelSpace.AddRegion(RoomIsland)
RegionTile = MyDWG.ModelSpace.AddRegion(Tile )
'Perform Boolean Method
RegionRoom.AcadRegion acSubtraction, RegionTile