vitulin
Automotive
- Nov 1, 2007
- 79
Hi,
I wonder if you could help me with following topics:
Lets assume, that I have a part. I want to create following attributes: designer, date and material
Before these attributes, I want to check, if these attributes have already been created and in case that yes, I want to take the values from them.
And this is the problem. In case, that the attributes are not defined, the journal is not working.
I have tried this:
If workpart.GetStringAttribute("material") is nothing Or workpart.GetStringAttribute("material") = "" Then
but it doesnt work.
the second thing is:
if i want to save as... part, it will save it to ugii directory, but I would like to save it to NX work directory...
Thank you
Vit
I wonder if you could help me with following topics:
Lets assume, that I have a part. I want to create following attributes: designer, date and material
Before these attributes, I want to check, if these attributes have already been created and in case that yes, I want to take the values from them.
And this is the problem. In case, that the attributes are not defined, the journal is not working.
I have tried this:
If workpart.GetStringAttribute("material") is nothing Or workpart.GetStringAttribute("material") = "" Then
but it doesnt work.
the second thing is:
if i want to save as... part, it will save it to ugii directory, but I would like to save it to NX work directory...
Thank you
Vit