I am running a batch script on a project currently consisting of some 330+ P&IDs. The batch script seems to function just fine, but leaves one side-effect. The annotations are left graphically displaying "No Target", as if the drawing wasn't linked to the database. When I manually open a drawing, the annotations will update and properly display, but they will not update unless I manually open that drawing. This means that if I run a batch script on all of my drawings, and then run a batch plot, all of the annotations display "No Target" instead of their true values. Is there any way to get them to update properly with some command that I can throw into my batch script, or is there any other way around this?
By the way, I've even tried adding "synchstyles" into my batch script, but with no differing results.
I've attached an example of what I am getting as a result on any given pdf.
Thanks for any help you can provide,
Try to use "Resave All Project Drawings". Press right click on project in the navigation tree in project manager.
I just tried doing what you suggested, but it did not seem to update the annotations back to normal.
Thank you for the suggestion though!
I hope the following will work for you, it's a lot of work but I think the only way.
First of all, it will be fine to have a backup of the project.
Create a new project from the original project
Be sure that you have all the properties you have in the new project like in the old one.
Remove the drawings from the project
Add the drawings to the new project
Hope this works for you
What do the script does? How about running the script one more time with just synchstyles in the script?
By the way, i have updated my plant tools. You can use to batch synchstyles a bunch of drawings. Because it opens the drawing from the project manager, it will update the data properly.
As you have said, the "No Target" tags usually indicate that the connection to the database has been lost so it is goot that manually opening the drawings re-establishes teh connection.
I suspect that this is something that you will need to do so perhaps the open/close of the drawing can be included as part of your script?
Thanks everyone for the suggestions. I've tried many of the offered solutions, but nothing seems to be a viable solution. And I don't want to have to backup/remove/add all of my 350 (now) drawings to a new project everytime I run a batch script, so I did not try that one.
The script that I ran was very simple, in fact this was all it did:
I am working on getting the LazCadPlantBrowser to run correctly, as I have high hopes for it. I'll see if it offers any fixes and let everyone know.
Just letting you know that I posted my error message on your site. I'm sure I'm doing something wrong.
FYI...I am using the 2013 version on my 2013 P3D installation.
Did you unblock the ZIP file before you extract the file?
Yes, I made sure to unblock it under its properties before extracting. I even checked the dll file to make sure it wasn't still being blocked.
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 P&ID forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.
|AutoCAD P&ID General|