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
    as @Ken Walker​  already said, and was stated earlier and in other posts the internal Patran id's are not the same as the PIDs written/read from Nastran.
    The 3.bdf was incomplete as it missed the begin bulk etc I modified it so that now when you read it in it correctly builds the prop and material names to correspond with either the names "Plate1", "Plate2", "Demo" adn "Demo1" or on import if you turn off the option "Retrieve names from comments" it builds them as "pshell.1", "pshell.2", "matrl.1" and "matrl.2". Here the ".xx" convention is being used for the names and ties up with the bdf ids. Note the internal Patran ids will not correspond.

    Attached Files (1)
Reply
  • Hi
    as @Ken Walker​  already said, and was stated earlier and in other posts the internal Patran id's are not the same as the PIDs written/read from Nastran.
    The 3.bdf was incomplete as it missed the begin bulk etc I modified it so that now when you read it in it correctly builds the prop and material names to correspond with either the names "Plate1", "Plate2", "Demo" adn "Demo1" or on import if you turn off the option "Retrieve names from comments" it builds them as "pshell.1", "pshell.2", "matrl.1" and "matrl.2". Here the ".xx" convention is being used for the names and ties up with the bdf ids. Note the internal Patran ids will not correspond.

    Attached Files (1)
Children
No Data