Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
504 Vistas, 2 Respuestas

Autodesk Forge custom Activity: COMPAREEXPORT on accoreconsole

Is possible to achieve the "Snapshot DWG comparison" provided by the "COMPAREEXPORT" command on the accoreconsole tool? I tried to create a custom "Activity" on the "Design Automation" for this but I didn't get the result:

 

{
"commandLine": [
"$(engine.path)\\accoreconsole.exe /i $(args[HostDwg].path) /s $(settings[script].path) /suppressGraphics"
],
"parameters": {
"HostDwg": {
"verb": "get",
"description": "Host drawing to be loaded into acad.",
"required": true,
"localName": "$(HostDwg)"
},
"ToCompareWith": {
"verb": "get",
"description": "Drawing to be compared",
"required": true,
"localName": "$(ToCompareWith)"
},
"Result": {
"verb": "post",
"description": "Results",
"required": true,
"localName": "output.dwg"
}
},
"id": "FPDCompare",
"engine": "Autodesk.AutoCAD+23_1",
"appbundles": [],
"settings": {
"script": {
"value": ";Comand:\nCOMPAREINPLACE\n;Turn ON:\nON\n;Comand\n-COMPARE\n;ToCompareWith\n$(args[ToCompareWith].path)\n;Comand:\nCOMPAREEXPORT\n"
}
},
"description": "Compare two drawings."
}