Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro acting like replace text function ( in catdrawings )

Status
Not open for further replies.

Olivia86

Automotive
Joined
Sep 23, 2016
Messages
29
Location
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
 
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.

Part and Inventory Search

Sponsor

Back
Top