Reset Name of part
MBartlett21
Member, OS Professional, Developers Posts: 2,064 ✭✭✭✭✭
How do I reset the name of a part so that I can configure it using featurescript?
EDIT: Also reset any of the other properties.
EDIT: Also reset any of the other properties.
Tagged:
0
Best Answer
-
looks like if you once set the property manually renaming features have no more any affection on it, though if you only change part name with renaming feature multiple renames are possible
5
Answers
-
did you tried setProperty() with PropertyType.NAME?
0 -
@konstantin_shiriazdanovkonstantin_shiriazdanov said:did you tried setProperty() with PropertyType.NAME?
Yes, I did, but since I had already set the name, it didn't work0 -
looks like if you once set the property manually renaming features have no more any affection on it, though if you only change part name with renaming feature multiple renames are possible
5 -
0
-
This question is still relevant: @NeilCooke or @lougallo? is there a way to reset (even manually to a default OS partname having once renamed the part?
my current terrible work around is to supress the feature that initially creates the part, remake it in a new feature and then work through the whole feature tree to update all the references. only then i remove the original feature and can i use the 'partname featurescript'
kind regards
Jelte
0 -
-
hahaa indeed!
thank you! 1




