Boolean Method (ActiveX) on three region

Boolean Method (ActiveX) on three region

jalal.mousa
Advocate Advocate
243 Views
0 Replies
Message 1 of 1

Boolean Method (ActiveX) on three region

jalal.mousa
Advocate
Advocate

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

jalalmousa_1-1686912177650.png

 

 

0 Likes
244 Views
0 Replies
Replies (0)