How to get [Geometry File Name]

Akane Ito
Akane Ito Member Posts: 29
10 Comments Name Dropper
**
edited July 22 in Structures

Please tell me how to get [Geometry File Name] from Mechanical

Answers

  • Erik Kostson
    Erik Kostson Member, Employee Posts: 233
    50 Answers 100 Comments Second Anniversary 25 Likes
    ✭✭✭✭
    edited July 22

    Hi

    The below should be of help and get what is needed:

    model=ExtAPI.DataModel.Project.Model 
    
    geom=model.Geometry
    
    sourc=geom.Source
    
    print(sourc)
    

    Thank you

    Erik