Jump to content

Recommended Posts

Posted (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 by ctdlc888
Posted

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. 

  • Like 2
Posted

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.

Posted

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))

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...