LISP edit DWG Statistics?

LISP edit DWG Statistics?

mid-awe
Collaborator Collaborator
534 Views
3 Replies
Message 1 of 4

LISP edit DWG Statistics?

mid-awe
Collaborator
Collaborator

Hi all,

I did some searching only to find that the code at the link below does write the value to the drawing, but does not display the value as expected. Can anyone help correct the issue?

 

drawing properties, statistics, revision number

 

Thank you in advance for any help/ advice.

0 Likes
Accepted solutions (1)
535 Views
3 Replies
Replies (3)
Message 2 of 4

hmsilva
Mentor
Mentor
Accepted solution

Hi mid-awe,

 

try

 

(vla-put-revisionnumber (vla-get-summaryinfo (vla-get-activedocument (vlax-get-acad-object))) "001")

 

Hope this helps,
Henrique

EESignature

Message 3 of 4

mid-awe
Collaborator
Collaborator
Wow, thank you Henrique. Works perfectly.
0 Likes
Message 4 of 4

hmsilva
Mentor
Mentor

You're welcome, mid-awe!
Glad I could help

Henrique

EESignature

0 Likes