For example, I've obtained a point that's based on WCS coordinates, and I want to convert its coordinates to be based on UCS. How can I accomplish this using ARX?
thanks
Solved! Go to Solution.
Solved by ynapeu. Go to Solution.
Can you provide scarletios a code example in ARX that demonstrates converting a point from WCS to UCS?
E.g: scarlet ils
AcGePoint3d convertWcsToUcs(const AcGePoint3d& wcsPoint)
{
AcGeVector3d ucsPoint;
acdbWcs2Ucs(asDblArray(wcsPoint), asDblArray(ucsPoint), 0);
return AcGePoint3d(ucsPoint.x, ucsPoint.y, ucsPoint.z);
}
Can't find what you're looking for? Ask the community or share your knowledge.