satishrajdev Posted May 5, 2015 Share Posted May 5, 2015 Hi all I got a drawing from client who has assigned some properties to the polyline which has given in belowed pictures. Can anybody tell me how to trace that properties. Sample drawing is also attached. waiting for your reply Sample Polyline.dwg Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 6, 2015 Share Posted May 6, 2015 Its probably come from importing a GIS shape file. Which can have extra information attached to a autocad object. Quote Link to comment Share on other sites More sharing options...
satishrajdev Posted May 6, 2015 Author Share Posted May 6, 2015 Yes.... I think so But is there any option from which we can get this properties by lisp? Quote Link to comment Share on other sites More sharing options...
hmsilva Posted May 6, 2015 Share Posted May 6, 2015 Hi Satish, try to dump all propreties with (vlax-dump-object (vlax-ename->vla-object (car (entsel "\nSelect Object:"))) t) I can't access to those properties in vanila AutoCAD... Henrique Quote Link to comment Share on other sites More sharing options...
satishrajdev Posted May 6, 2015 Author Share Posted May 6, 2015 tried that.... didnt work:sweat: Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 6, 2015 Share Posted May 6, 2015 On inspecting the entity using this utility, the data looks to be derived from Autodesk Map software: ( (-1 . <Entity name: 7ffffb13d40>) (0 . "LWPOLYLINE") (5 . "1D4") (102 . "{ACAD_XDICTIONARY") (360 . <Entity name: 7ffffb13d50>) (102 . "}") (330 . <Entity name: 7ffffb109f0>) (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "SEG1_6_Concession_Blocks") (100 . "AcDbPolyline") (90 . 100) (70 . 1) (43 . 0.0) (38 . 0.0) (39 . 0.0) (10 1.64978e+006 2.08604e+006) (40 . 0.0) (41 . 0.0) (42 . 0.0) (91 . 0) ... < vertex entries > ... (10 1.64978e+006 2.08604e+006) (40 . 0.0) (41 . 0.0) (42 . 0.0) (91 . 0) (210 0.0 0.0 1.0) (-3 ( "AcMap_E615D161-C9D7-11d3-839F-0060B0FB6B57" (1071 . 2) (1071 . 2) (1071 . 1) ) ) ) On inspecting the Extension Dictionary: ( (-1 . <Entity name: 7ffffb13d50>) (0 . "DICTIONARY") (330 . <Entity name: 7ffffb13d40>) (5 . "1D5") (100 . "AcDbDictionary") (280 . 1) (281 . 1) (3 . "*A1") (360 . <Entity name: 7ffffb13d60>) ) And inspecting the entry within this dictionary: ( (-1 . <Entity name: 7ffffb13d60>) (0 . "ACAD_PROXY_OBJECT") (5 . "1D6") (102 . "{ACAD_REACTORS") (330 . <Entity name: 7ffffb13d50>) (102 . "}") (330 . <Entity name: 7ffffb13d50>) ) Objects native to vertical applications will always be rendered as Proxy Objects when viewed in applications which do not support the object type. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 7, 2015 Share Posted May 7, 2015 My fault Lee did not elaborate like "Look up help re extracting information from a SHP file imported into Autocad Map". There can be heaps of hidden stuff, a common one is a contour line which has the obvious hidden value the contour level. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 7, 2015 Share Posted May 7, 2015 Personally, I don't have any experience working with the Map applications, and so instead I reverted to posting the information I gleaned from digging through the entity data. Quote Link to comment Share on other sites More sharing options...
Hippe013 Posted May 7, 2015 Share Posted May 7, 2015 You will have to look into Acad Map ade functions. I can list some examples below: (setq ent (car (entsel "\nSelect Entity:")));Get the entity (setq tbl (ade_odgettables ent));Get the Table (setq tbl-def (ade_odtabledefn tbl));Get the Table Definition The help file that you are looking for is acmap-dev.chm. I may have a copy of this file at home. Otherwise the help file is old and hard to find. I can't spend too much time on this right now but can help with this topic later today or tomorrow. I hope this helps, regards, Hippe013 Quote Link to comment Share on other sites More sharing options...
tombu Posted May 7, 2015 Share Posted May 7, 2015 You will have to look into Acad Map ade functions. I can list some examples below: (setq ent (car (entsel "\nSelect Entity:")));Get the entity (setq tbl (ade_odgettables ent));Get the Table (setq tbl-def (ade_odtabledefn tbl));Get the Table Definition The help file that you are looking for is acmap-dev.chm. I may have a copy of this file at home. Otherwise the help file is old and hard to find. I can't spend too much time on this right now but can help with this topic later today or tomorrow. I hope this helps, regards, Hippe013 Keep in mind Satish Rajdev would have to have Map or a Map vertical to have those lisp functions. I use a routine to label features of imported shape files, but it's set up to use our GIS data, wouldn't be much use to anyone else. There's also commands like MAPLABEL2ANN, but again only for us Map folk. I think he just wanted to know where those properties came from. Quote Link to comment Share on other sites More sharing options...
Hippe013 Posted May 7, 2015 Share Posted May 7, 2015 Lee, are you using straight acad? Do the functions I listed above work in your acad? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 7, 2015 Share Posted May 7, 2015 _$ (type ade_odgettables) nil Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.