The calling thread cannot access this object because a different thread owns it.
sombodyfromtheworld
Member Posts: 30
**
in 3D Design
SpaceClaim issue with splitting the face second time in a row.
# Split Faces options = SplitFaceOptions() selection = FaceSelection.Create(GetRootPart().Components[0].Content.Bodies[0].Faces[0]) point = EdgeSelection.Create(GetRootPart().Components[0].Content.Bodies[0].Edges[6]).Items[0].EvalProportion(0.8).Point result = SplitFace.ByParametric(selection, point, FaceSplitType.Perpendicular, options) # EndBlock # Split Faces options = SplitFaceOptions() selection = FaceSelection.Create(GetRootPart().Components[0].Content.Bodies[0].Faces[4]) point = EdgeSelection.Create(GetRootPart().Components[0].Content.Bodies[0].Edges[8]).Items[0].EvalProportion(0.4).Point result = SplitFace.ByParametric(selection, point, FaceSplitType.Perpendicular, options) # EndBlock
Second line SplitFace.ByParametric() throws this error: The calling thread cannot access this object because a different thread owns it.
Tagged:
0