Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Macro acting like replace text function ( in catdrawings )

Status
Not open for further replies.

Olivia86

Automotive
Sep 23, 2016
29
0
0
IT
Is there any macro comand that works like the replace function in catdrawing? the problem is that

DrwTexts.GetItem is not getting some text if is not isolated.

And the

selection1.Search

function as well is not finding items if they are not isolated.

What i would like to achieve is to change all the string found in the entire drawing.

replace_edjzfe.jpg
 
Replies continue below

Recommended for you

I need to edit the sheet.1 detail without editing the father.

As you see in your pictures you are pointing to the detail not at the sheet.
Capture_c6yzfn_oqzjfk.jpg
 
This is not the case unfortunately. In fact usually you mantain the detail text unchanged and you edit the sheet instatiated text related to the part present in the sheet. To do so you have to put your text as "Modifiable in istance" In fact materials, names, and codes changes on every sheet. So what i'm trying to do is edit the text in the sheet without touching the detail. I have a macro that achieves this tasks but it's an exe given by our client, and it works only with their template, so i'm sure it can be done. But i think is more challenging than it seems.

EDIS_INSTANCE_yqnjlk.png
 
Status
Not open for further replies.
Back
Top