There is no standard functionality in AcadE when it comes to revisions. So to do this, you'll have to find the title block manually (via code) and search for the revision attributes there.
Then Your code can decide what's the newset revision.
IF the user revisies the whole project at a time, and not specific drawings, this information MIGHT be in the project descriptions.
If so, you can use code to read this information from the WDP-file.
You can always program in LISP. Then you can get much data from lisp functions like (c:wd_proj_wdp_data)
As (ace_getactiveproject) is a lisp-expression, "unknown command" isn't what I'd expect.
The WDP-file is AutoCAD Electrical project file, located as a file, normally amongst the drawing (DWG) files.
It's a text-file that contains the projects settings and infomartion bout what drawings that are a part of the project.
Open it with notepad to have a look.
If someone has written the revision into the projects DESCRIPTIONS, you'll be able to see the here.
But not all people use revisions for the whole project, and it might not be the right place to search....
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.
The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.
|AutoCAD Electrical General|