Jump to content
Mr. Vahid Jafari

Rename objects in a feature

Recommended Posts

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 post-1090-0-70559700-1552039168_thumb.png 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" post-1090-0-25326000-1552039176_thumb.png. 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

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.

 

Cheers

Ceyhan

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...