AutoCAD P&ID
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
"No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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,
Craig
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Try to use "Resave All Project Drawings". Press right click on project in the navigation tree in project manager.
Yury Bogdanov
ASIDEK(Grupo CT)
Barcelona (Spain)
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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!
Craig
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello Craig,
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
CADTEAM
hans@cadteam.nl
www.cadteam.nl
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
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,
Dan
Dan Scales
Product Support Specialist
Autodesk, Inc.
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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:
synchstyles
rea
tilemode
0
Zoom
Extents
qsave
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.
Thanks,
Craig
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
http://lazcad.com/07/30/laz_plant_browser_batch_co
Thanks,
Craig
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Did you unblock the ZIP file before you extract the file?
Check out my blog http://lazcad.com
Re: "No Target" in annotation s due to Batch Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.



