Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
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




