lpp
Computer
- Jun 27, 2004
- 2
We recently went from v5r11sp4 to v5r13sp2 and the hybridbodies named "Open_body.1" were changed to "Geometrical Set.1". Now the Releations.CreateFormula function fails to give the correct value and I suspect it has to do with the blank character in the name. If you rename it in the CATIA file and the VB source module without the space it works "GeometricalSet.1"
This fails, gives length = zero:
Set myLenRel = myPart.Relations.CreateFormula("LenForm",
"",myLength,"length(Geometrical Set.1\MySpline)")
Any ideas how to get the length of a spline when there is a space somewhere in the name? Thanks!
This fails, gives length = zero:
Set myLenRel = myPart.Relations.CreateFormula("LenForm",
"",myLength,"length(Geometrical Set.1\MySpline)")
Any ideas how to get the length of a spline when there is a space somewhere in the name? Thanks!