Mr. Vahid Jafari 0 Report post Posted March 8, 2019 Hey guys, Is it possible to rename an object in feature programming (e.g. in a loop)? Here, I have a bsplinecurve called "tmp" in the picture and I want to give it an appropriate name. I just used the function "setName()" to rename it, but it doesn't seem to work, despite getting no error. The curve still has the name "tmp" . So how can I get to rename the curve in my feature? Thank you very much in advance best,Vahid Share this post Link to post Share on other sites
Ceyhan Erdem 14 Report post Posted March 8, 2019 Hi Vahid, I am sorry but within a Feature it is not possible to rename an already created object.In the Feature definition the objects are named during compile time only. Maybe you would like to do workaround by creating an imagecurve with the name you would like to assign. CheersCeyhan Share this post Link to post Share on other sites
Mr. Paulo Macedo__0002 2 Report post Posted March 8, 2019 Another option is to use an entitygroup to store your curve with the name you want. Then when accessing the entity group you can check for the name of the object with an if statement and get all the information from the curve. Paulo Share this post Link to post Share on other sites