CheeseMaker13
Aerospace
- Sep 25, 2012
- 42
Hi Guys,
Another one I can't work out!
I have the 'address' (For Example: Part\Geometrical Set\Sub Geo Set\Name) for a parameter, for which then I get the value from using:
Parameters.Item("Part\Geometrical Set\Sub Geo Set\Name").Value
Now sometimes not all the parameters exist, so the script will error.
Is it possible to check if the StrParam exists before trying to read the value?
Cheers!
Another one I can't work out!
I have the 'address' (For Example: Part\Geometrical Set\Sub Geo Set\Name) for a parameter, for which then I get the value from using:
Parameters.Item("Part\Geometrical Set\Sub Geo Set\Name").Value
Now sometimes not all the parameters exist, so the script will error.
Is it possible to check if the StrParam exists before trying to read the value?
Cheers!