hexagon logo

Material ID for an element

Hi,
​I have element ID and I need to get the property set ID and its material ID defined in the property.   db_element function returns part ID and its not matching with BDF file. Please suggest to get the material ID for an element.
Parents
  • Hi,
    without your test bdf file and pcl code it is difficult to give meaningful comments.
    I think the code you are showing the dump for is modified from that which I posted.
    I'm concerned because I think the dump shows pcomp.61 as the property name and I would expect pcomp.920, (also good to know which Patran version you are using)
    Also what are you expecting? The material ID is patran's internal id of the material record.
     
     
     
Reply
  • Hi,
    without your test bdf file and pcl code it is difficult to give meaningful comments.
    I think the code you are showing the dump for is modified from that which I posted.
    I'm concerned because I think the dump shows pcomp.61 as the property name and I would expect pcomp.920, (also good to know which Patran version you are using)
    Also what are you expecting? The material ID is patran's internal id of the material record.
     
     
     
Children
No Data