the reference answer GPT ᴼ ᴾ ᴱ ᴺ ᴬ ᴵ < br / > in NX second Development of runtime behavior, MCD(Managed c + + Development) is a common way, Component property information can be accessed through the MCD's API. In the MCD, you can use the CollisionSensor class to obtain the information of the collision sensor, including the position, direction, and force of the object collision.
-
You can use the Material and Appearance classes to get the material and color of a component. The Material class provides a way to access the properties of a component's material, such as density, elastic coefficient, Young's modulus, and so on. The Appearance class provides a way to access a component's appearance properties, such as color, texture, and so on.
-
By combining the CollisionSensor, Material, and Appearance classes, it is possible to obtain the collision information, material, and color of components in the secondary development of NX.