can we get highest revision value and assigned date of particular drawing in autocad electrical?
Solved! Go to Solution.
Solved by rhesusminus. Go to Solution.
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)
I Typed (ace_getactiveproject) at the command line,It showed Unknown Command..
how can i access WDP File? Is WDP a block?
As (ace_getactiveproject) is a lisp-expression, "unknown command" isn't what I'd expect.
Try again?
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....
ok got it,but actually i want to get revision value of individual drawing from Active Project?
Can we get?
That all depends in the title block. IF the imformation is there, you'll be able to read it from the correct attribute in the title block.
Can't find what you're looking for? Ask the community or share your knowledge.