lklo
Industrial
- Nov 24, 2010
- 226
Hello
If someone here can help me -
I need to have this expression updated - every time the setup part get new name ( save as , clone , rename , template, and so on...)
TYPE:Integer
NAME:WhatEver
FORMULA
{
$path << first(flatten(ug_askAssemblyStructure( "" )));
ug_setAttrValue_("", "PART_ATTRIBUTE", "filepath", $path);
}; AssemblyStructure( "" )));
This expression set a Part attribute named "filepath" with the value of the entire file path. That is very OK.
But it is annoying that is nessesary to run "update for external change" every time to get it updated.
lklo
If someone here can help me -
I need to have this expression updated - every time the setup part get new name ( save as , clone , rename , template, and so on...)
TYPE:Integer
NAME:WhatEver
FORMULA
$path << first(flatten(ug_askAssemblyStructure( "" )));
ug_setAttrValue_("", "PART_ATTRIBUTE", "filepath", $path);
}; AssemblyStructure( "" )));
This expression set a Part attribute named "filepath" with the value of the entire file path. That is very OK.
But it is annoying that is nessesary to run "update for external change" every time to get it updated.
lklo