Transform Region

Transform Region

SRSDS
Advisor Advisor
400 Views
2 Replies
Message 1 of 3

Transform Region

SRSDS
Advisor
Advisor

I need regions from an xreference.

How can I transform them to the WCS?

region.TransformBy(XrefTransformMatrix) doesn't give a value.

 

edit: I'm guessing I need to change it to a polyline, transform the polyline, then convert it back to a region.

I need to deterimine if the region contains a point using brep

 

0 Likes
Accepted solutions (1)
401 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant
Accepted solution

Hi,

 

Wouldn't it be simpler to transform the point with the inverse transformation matrix?



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

SRSDS
Advisor
Advisor

Thank you. Yep. 🙂

0 Likes