> For the complete documentation index, see [llms.txt](https://help.auxalia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.auxalia.com/plant-tools/plantexpresstools/how-to-use/calculations/additional-functions/ptgetallscriptparameters-ptgetscriptparameter.md).

# PTGetAllScriptParameters & PTGetScriptParameter

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.

### <mark style="color:blue;">PTGetAllScriptParameters</mark>

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.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-0a0d22e23e99363adf9629552c599abd494589d3%2FCalculations-77.png?alt=media)

And this is what it looks like in property **PET\_Calc\_All\_Dimensions.**

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-4e422abfbc08bc331af29385b3e4a1ecab7085dd%2FCalculations-84.png?alt=media)

### <mark style="color:blue;">PTGetScriptParameter</mark>

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

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-43c9ba0bd5243b08380b5254b67b857cb24c39cd%2FCalculations-78.png?alt=media)

Now you get the dimension **H** back.

![](https://2994090777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZH2AGHzvPfBW7YdaaGc0%2Fuploads%2Fgit-blob-4e422abfbc08bc331af29385b3e4a1ecab7085dd%2FCalculations-84.png?alt=media)
