frk
Guest
hello to all
My problem is to transform an entity (of an application of autocad) that I will call auction in a line or draw a line as an axis of the auction.
the idea is to ask the autocad database and extract the data (coordinates and length) and then generate the line.
I would also need this to be done for all the design auctions.
below place the extracted definition list (entget) from the auction entity database:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
select object: ((-1 . <nome 7ee60140="" entità:="">) (0 . "hsb_beament" (5 .
"b5498" (102 . "{acad_xdictionary") (360 . <nome 7ee60558="" entità:="">(102).
330. <nome 7ee42d08="" entità:="">) (100 . "acdbentity") (67 . 0) (410 .
"model") (8 . "_construction") (62 . 72) (100 . "hsb_beament") (70 . 3) (10 .
-31776.9 -7174.66 -200.0) (15 -38518.5 -7174.66 -200.0) (142 . 13483.2) (143 .
0.0) (11 1.0 0.0) (12 0.0 0.0) (13 0.0 0.0 1.0) (14 0.0 0.0) (140 .
200.0) (141 . 400.0) (300 . "") (70 . 10) (79 . 0) (332 . <nome 0="" entità:="">)
(144 . 0.0) (300 . "balk") (300 . "") (300 . "lam") (300 . "") (300 .
. "") (300 . "travetto") (300 . "bs12") (301 . "") (302 . "") (71 . -1) (72 .
0) (73 . 0) (74 . 12)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
the auction in the db acad is "hsb_beament"
coordinates of the auction center (10 -31776.9 -7174.66 -200.0)
coordinates of an extreme of the auction = starting point of the future line (15 -38518.5 -7174.66 -200.0)
length of the rod = length of the future line (142 . 13483.2)
a thank you to those who give me a hand
franc</nome></nome></nome></nome>
My problem is to transform an entity (of an application of autocad) that I will call auction in a line or draw a line as an axis of the auction.
the idea is to ask the autocad database and extract the data (coordinates and length) and then generate the line.
I would also need this to be done for all the design auctions.
below place the extracted definition list (entget) from the auction entity database:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
select object: ((-1 . <nome 7ee60140="" entità:="">) (0 . "hsb_beament" (5 .
"b5498" (102 . "{acad_xdictionary") (360 . <nome 7ee60558="" entità:="">(102).
330. <nome 7ee42d08="" entità:="">) (100 . "acdbentity") (67 . 0) (410 .
"model") (8 . "_construction") (62 . 72) (100 . "hsb_beament") (70 . 3) (10 .
-31776.9 -7174.66 -200.0) (15 -38518.5 -7174.66 -200.0) (142 . 13483.2) (143 .
0.0) (11 1.0 0.0) (12 0.0 0.0) (13 0.0 0.0 1.0) (14 0.0 0.0) (140 .
200.0) (141 . 400.0) (300 . "") (70 . 10) (79 . 0) (332 . <nome 0="" entità:="">)
(144 . 0.0) (300 . "balk") (300 . "") (300 . "lam") (300 . "") (300 .
. "") (300 . "travetto") (300 . "bs12") (301 . "") (302 . "") (71 . -1) (72 .
0) (73 . 0) (74 . 12)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
the auction in the db acad is "hsb_beament"
coordinates of the auction center (10 -31776.9 -7174.66 -200.0)
coordinates of an extreme of the auction = starting point of the future line (15 -38518.5 -7174.66 -200.0)
length of the rod = length of the future line (142 . 13483.2)
a thank you to those who give me a hand
franc</nome></nome></nome></nome>