Hi,
I am trying to do an opTransform of type copy, but I am getting an error I don't understand. It seems like the error is saying that
TransformType.COPY is a String and should not be a String, but it doesn't look like a string to me. Could someone tell me what I am doing wrong here?
Thanks,
Jason
This is my code:
<div> opTransform(context, id + "transform1", {</div><div> "transform" : TransformType.COPY,</div><div> "entities" : definition.part,</div><div> "makeCopy" : true</div><div> </div><div> });<br></div>This is the error:
@opTransform: Map field 'transform' is of wrong type STRING 560:12 onshape/std/geomOperations.fs (opTransform) 62:13 Feature Studio 1 (const corePrint)
52:17 onshape/std/feature.fs (defineFeature) 91:17 Part Studio 1 (build) 94:9 Part Studio 1 (build) 7:12 Part Studio 1 (main) |
|
|
|
|