I'm trying to get the parameters from the part of a cam document, but without success.
From TopSolid'Cam Automation Guide we have:
Code: Select all
List<ParameterId> parametersPart = TopSolidCamHost.Parameters.GetParameters(TopSolidCamHost.Operations.GetPart(op));
So, I was trying like this:
Code: Select all
ElementExId part = new ElementExId(TopSolidCamHost.Operations.GetPart(op));
List<ParameterId> parametersPart = TopSolidCamHost.Parameters.GetParameters(part);
Any other way? I need the FinishXMax, FinishXMin ...Element is not parameters provider
Best Regards
Rúben Oliveira