PTGetAllScriptParameters & PTGetScriptParameter

<< Click to Display Table of Contents >>

Navigation:  PlantExpressTools > How to use > Calculations > Additional Functions >

PTGetAllScriptParameters & PTGetScriptParameter

Previous pageReturn to chapter overviewNext page

With the two functions below you can get ALL or just a single dimension of 3D parts. This can be useful when trying to get the length of pipe hanger supports.

PTGetAllScriptParameters

This function will get all dimensions of on object. If you have valves with an actuator, then the actuator dimensions will also be added to the list.

Calculations 77

And this is what it looks like in property PET_Calc_All_Dimensions.

Calculations 84

PTGetScriptParameter

The second function required the name of the dimension you want to retrieve.

Calculations 78

Now you get the dimension H back.

Calculations 84

Next Chapter: PTLongestString