surface edge id

Chidananda G
Chidananda G Altair Community Member
edited October 2020 in Community Q&A

HI,

by using tcl script i am trying to put a washer split  at different location with certain offset value depending on the diameter of the hole . The edge id gets changed after i perform a washer split operation, hence i could not able to perform next washer split operation, due older edge id does not exist any more 

Answers

  • sandeepballiwar
    sandeepballiwar New Altair Community Member
    edited June 2019

    Any type of editing on surfaces will result in change of id's

    I had the same problem, at that time i created metadata and proceeded with that info instead of following edge id's. 

    You can try using the following api's  *metadatamarkremove, *metadatamarkstring and hm_metadata

  • Chidananda G
    Chidananda G Altair Community Member
    edited June 2019

    thank you sandeep, let me try with metadata api, if you have any sample code if you can share it will be more helpful 

    thank you!

  • brahmadev
    brahmadev Altair Community Member
    edited June 2019

    Any type of editing on surfaces will result in change of id's

    I had the same problem, at that time i created metadata and proceeded with that info instead of following edge id's. 

    You can try using the following api's  *metadatamarkremove, *metadatamarkstring and hm_metadata

    what is metadata I have seen some APIs available but not sure how to use'em.

    It would be really helpful if you can share any sample scripts for understanding the concept.

     

    Thanks in advance.

     

    Regards,

    Brahmadev.

  • tinh
    tinh Altair Community Member
    edited June 2019

    If it changes id after split then offset lines first, then split all in one (i did that way successfully in a task)