ctdlc888 Posted January 6, 2023 Posted January 6, 2023 (edited) Greetings of new year to you. What autocad function is the section in the properties bar which i marked blue in the attached drawing so i can search for tutorials of doing one. It does not function in lower version of autocad. Btw i use Autocad 2019 Landdesktop. Thank you Edited January 6, 2023 by ctdlc888 Quote
mhupp Posted January 6, 2023 Posted January 6, 2023 I think That is XDATA or Extended Entity Data. 1 Quote
BIGAL Posted January 6, 2023 Posted January 6, 2023 That is OBject Data, you need to have say CIV3D or Map to get at that info. (setq ent (car (entsel "\nPick object with OD data "))) (setq odname (ade_odgettables ent)) (setq Stnum (ade_odgetfield ent odname "STREET_NUMBER" 0)) (setq Stname (ade_odgetfield ent odname "STREET_NAME" 0)) Try "Name_0" for the data name in example code. 2 Quote
ctdlc888 Posted January 7, 2023 Author Posted January 7, 2023 Thank you for your answer and the code BIGAL. Can i run that code after saving as lisp and load using appload? I will try if i can get through LD2009. Quote
BIGAL Posted January 7, 2023 Posted January 7, 2023 Not sure if supported in LD2009 just try copy 1 line at a time and paste to command line. (setq ent (car (entsel "\nPick object with OD data "))) (setq odname (ade_odgettables ent)) (setq Stnum (ade_odgetfield ent odname "NAME_0" 0)) Quote
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.