Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Microversion can not be specified for the linked documents [Drawing]

CAD_DevCAD_Dev Member Posts: 4
I'm trying to create a drawing of a part using /drawings/create but all i get is an error response of "Microversion can not be specified for the linked documents "

My request body is:

{
  "border": true,
  "computeIntersection": true,
  "decimalSeparator": "string",
  "displayStateId": "string",
  "documentId": "6825f25718f22bf68f87355a",
  "documentMicroversionId": "string",
  "drawingName": "My Drawing",
  "elementConfiguration": "default",
  "elementId": "d999a6476500ae02b8b231cf",
  "elementMicroversionId": "string",
  "explosionId": "string",
  "externalDocumentId": "string",
  "externalDocumentVersionId": "string",
  "hiddenLines": "EXCLUDED",
  "includeSurfaces": true,
  "includeWires": true,
  "isFlattenedPart": false,
  "isSketchOnly": true,
  "isSurface": false,
  "language": "string",
  "location": {
    "elementId": "string",
    "position": 0
  },
  "modelType": "string",
  "namedPositionId": "string",
  "numberHorizontalZones": 0,
  "numberVerticalZones": 0,
  "partId": "string",
  "partNumber": "string",
  "partQuery": "string",
  "projection": "third",
  "pureSketch": true,
  "qualityOption": "string",
  "referenceType": 1,
  "referenceTypeEnum": "UNKNOWN",
  "revision": "string",
  "showCutGeomOnly": true,
  "simplificationOption": "string",
  "simplificationThreshold": 0,
  "size": "string",
  "sketchIds": [
    "string"
  ],
  "standard": "string",
  "startZones": "string",
  "templateArgs": [
    "string"
  ],
  "templateDocumentId": "string",
  "templateElementId": "string",
  "templateName": "string",
  "templateVersionId": "string",
  "templateWorkspaceId": "string",
  "titleblock": true,
  "units": "string",
  "views": "four",
  "workspaceId": "d40a3424a1307f74c4ff0cbb"
}

I don't know how to get the microversion 

Answers

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,688
    Correct - microversions cannot be used, it has to be a version.
    Senior Director, Technical Services, EMEAI
  • CAD_DevCAD_Dev Member Posts: 4
    NeilCooke said:
    Correct - microversions cannot be used, it has to be a version.
    Thank you for the prompt response! Could you please let me know what I am doing wrong here? as I'm not able to create a drawing from the specified part.
Sign In or Register to comment.