Jump to content

Recommended Posts

Posted

Hi,

I carry out annual inspections and put each new set of survey notes on a layer called by the date the survey was carried out. I have just found out that last year I didn't put my survey notes on the correct layer.

 

Is there a way of determining when a line / text was created or placed in the drawing, like a date created?

 

Any suggestion are welcome

 

Thanks

John

Posted

Only a drawing has creation dates and not individual items e.g lines, blocks etc.

Posted

Not that I am aware of. However, you might be able to zero in on the date by seeing if AutoCAD created a LOGFILE (.log) in the folder listed under Tools > Options > Files tab. Expand the entry for Log File Location. Normally one would have to check off the option Maintain a log file on the Open and Save tab for this to happen. Also check out the commands LOGFILEON, LOGFILEOFF and LOGFILEMODE in your Help files.

 

Don't be discouraged if you do not see a .log file in the folder. It is not uncommon for Explorer to overlook files of this type. Use Explorer to specifically look for *.log files. When the list is complete you can identify the log files for drawings as they include the drawing name as part of the log file name. Thus, if you have a drawing named 56RE201 the log file name may appear as 56RE201_1_1_5433.log. Good luck. Hope you find what you are looking for.

Posted

Lines, texts and other entities are recorded by AutoCAD as they are created. How about some Lisp?

The sequence

(SETQ e (ENTNEXT))

will assign the name "e" to the first entity in the drawing.

Now if you run repetatedly

(ENTGET (SETQ e (ENTNEXT e)))

you will get the next entity data for each run.

I admit that the returned data is somehow criptyc for the nonlispers but maybe you will be able to determine the first and the last desired data, all the next created inbetween those will be returned one after the other.

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