I needed the length and size (the size entered by the user at creating the weldbead) of the welds to sum the lengths by size.
Since Weldbeads are not exposed as features, so I can't access their definition, resp. their Parameters (the Weldbead Object in the API is a kind of abstraction for the feature with very limited information....).
So I tried to go around by getting the size via the Parameters, since the usage is displayed in the GUI, I thought there was an API method, or Property for those. The Parameter.Dependents show the dependent Parameters only (whilst the ObjectCollection Type implies a variant content....).
The idea was a compromise of getting the first parameter for the given Weld-Name and assume this is the Size-Definition. It's still a terrible hack, but it's more then nothing.... But currently not even this is possible
So currently I see no way to collect my needed information
.
So please either:
- expand Parameter.Dependents by the Objects relying on this particular Parameter, or
- expose Welds as Feature for accessing (editing...?) them via the API (this would be the most valuable solution
) - provide extended Information in the existing Weldinfo Property (I could live with parsing an XML-formatted string...), currently it only holds the annotation info, if there is one...