cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Batch add annotation feature to models

slapha
15-Moonstone

Batch add annotation feature to models

Is there any way to add a specific annotation feature to models in bulk?

We're working in Windchill 8.0 and have about 1000+ models in which we need to add an annotation. Obviously we could use a mapkey but this involves opening each model manually. The current notation is flat to the screen and model independent.

We'd like to be able to take say everything in a workspace, then bulk modify them with the new feature,

Any thoughts?

Thanks,

Steven LaPha


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2
amedina
1-Newbie
(To:slapha)

definitely possible. Here is what you do:

First off make a map key. The map key should include the part name so that
you can take the same map key and replace the number for the next part.

The next step is tricky.

Find someone who can program in anything quick like perl or sh or anything
command line or batch.

Then go to the workspace and view the page source. There will be a list of
part numbers there. Either it will be clean or you will have to use a batch
script to clean it up. Once cleaned put it on a text file.

Next just write another script that takes this list and applies it to the
map key. The output should be a super long map key that lists every
component you want to modify.

put the map key in the config.pro and let it do its job.

I do this a lot. Its fun and you can pretend to be working really hard. Just
keep on typing and move your mouse and eyes alot. you can even do single
handed while you talk to your boss and really impress him or her.

I'll write you a script if you want. I like challenges. just make the first
part map key.




On Thu, May 13, 2010 at 8:16 AM, Steven LaPha <
-> wrote:

> Is there any way to add a specific annotation feature to models in bulk?
>
> We're working in Windchill 8.0 and have about 1000+ models in which we need
> to add an annotation. Obviously we could use a mapkey but this involves
> opening each model manually. The current notation is flat to the screen and
> model independent.
>
> We'd like to be able to take say everything in a workspace, then bulk
> modify them with the new feature,
>
> Any thoughts?
>
>
>
> Thanks,
>
> Steven LaPha
>
proed
1-Newbie
(To:slapha)

Great description Alfonso!

It's a quick and inexpensive way to perform batch operations on Pro/E files. Some time back I put together a simple "trail-maker" that makes it easier to produce the mammoth trail file from an original trail + list of Pro/E files:

http://www.cadmin.co.uk/proadmin/trail-maker.htm

It has a couple of versions, depending what inputs/outputs you need.

Regards

Edwin Muirhead, CAD Manager, Weatherford

In Reply to alfonso medina:

definitely possible. Here is what you do:

First off make a map key. The map key should include the part name so that
you can take the same map key and replace the number for the next part.

The next step is tricky.

Find someone who can program in anything quick like perl or sh or anything
command line or batch.

Then go to the workspace and view the page source. There will be a list of
part numbers there. Either it will be clean or you will have to use a batch
script to clean it up. Once cleaned put it on a text file.

Next just write another script that takes this list and applies it to the
map key. The output should be a super long map key that lists every
component you want to modify.

put the map key in the config.pro and let it do its job.

I do this a lot. Its fun and you can pretend to be working really hard. Just
keep on typing and move your mouse and eyes alot. you can even do single
handed while you talk to your boss and really impress him or her.

I'll write you a script if you want. I like challenges. just make the first
part map key.




On Thu, May 13, 2010 at 8:16 AM, Steven LaPha <
@-> wrote:

> Is there any way to add a specific annotation feature to models in bulk?
>
> We're working in Windchill 8.0 and have about 1000+ models in which we need
> to add an annotation. Obviously we could use a mapkey but this involves
> opening each model manually. The current notation is flat to the screen and
> model independent.
>
> We'd like to be able to take say everything in a workspace, then bulk
> modify them with the new feature,
>
> Any thoughts?
>
>
>
> Thanks,
>
> Steven LaPha
>
Top Tags