Convert WCS to UCS of ARC center point

Convert WCS to UCS of ARC center point

Anonymous
Not applicable
845 Views
1 Reply
Message 1 of 2

Convert WCS to UCS of ARC center point

Anonymous
Not applicable

Hello,

 

I created only one ARC in the DXF file(3D).
The coordinates of the center point of ARC are X [-5.8519], Y [4.1231], and Z [-6.0567] in the LIST command of AutoCad.

 

test_only_arc1.png

 

The contents of the DXF file are as follows.

$UCSORG
10
0.0000000000000019
20
5.41218212157714
30
-8.477866966120997
9
$UCSXDIR
10
-1.0
20
0.0
30
-0.0000000000000004
9
$UCSYDIR
10
-0.0000000000000002
20
0.6884752107423325
30
0.7252598735579551

...

...

...

ARC
5
21D
330
1F
100
AcDbEntity
8
0
62
0
100
AcDbCircle
10
-6.081295336263051
20
-1.211657271327524
30
3.523655052146473
40
0.9842519685039372
210
-0.0623789851627812
220
0.9975948390659702
230
-0.0302224962404266

...

 

In Excel, it appears as   7.17637   15.81634   -17.55522.
However, in AutoCad, it is   -5.8519   4.1231   -6.0567.
I seem to be making a little mistake.
Attach Excel file with calculation formula.

 

I ask for help.
Thank you.

0 Likes
846 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

I'm not sure what exactly you are trying to accomplish here, but I would look up the "Trans" function, if your description matches your motive. If you need any more help, just ask!

 

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-AutoLISP/file...

 

Thanks,

Michael Luckett

0 Likes