Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Catia/Smartteam

Status
Not open for further replies.

Smileyoer

Mechanical
Dec 31, 2018
16
0
0
HU
Hello everyone,

I have faced with a issue that I still can not find a result for.

When I wrote a macro I can Tell the macro that I would like to modify a part which is user selected.
The selected part name is stored ín a strint than with that Line:
Catia.Documents.item(strint that stored name)
And then I can modify part.

The main problem is that when I open a part or product from SmartTeam it makes a file to my local with a number of ID.

When I ask user to select part to modify its nőt working anymore because the part name is stored in a string but the
Catia.Documents.item(strint that stored name)
Now throws an error.

Do you know how can I get this SmartTeam ID to Tell Catia that I will modify this part or product?

Thank you ín advance!
 
Replies continue below

Recommended for you

Yes I gót it like this. But the main problem is that when I try to show the code that I would like to modify this part IT throws an error.

I open a part properties which opened from SmartTeam and its name is like a SmartTeam ID because its made a local representation on my computer.

Any idea?
 
Status
Not open for further replies.
Back
Top