Getting Object-Specific Data

You can use SolverData APIs to get object-specific data. For example, you can use the ContactRegion object to get the source ID and target ID of the contact region:

contact_region = Model.GetChildren(DataModelObjectCategory.ContactRegion, True)[0]
contact_data = solver_data.GetObjectData(contact_region
contact_data.SourceId
contact_data.TargetId

 

 

You can use SolverData APIs to retrieve object data for the following objects:

  • AM Support

  • Beam Connection

  • Bearing

  • Body

  • Contact Region

  • Coordinate System

  • Joint

  • Layered Section

  • Pretension Bolt Load

  • Remote Point

  • Spring

  • Surface Coating

  • Surface Load

  • Import Surface Loads (Imported Load from External Data)

For a scripting example, see Retrieve Object Details Using SolverData APIs.