[CAD Document] Query CADDocument File for download to local
Hi everyone, Please show me how I can get information CADFiles(Native File / Viewable FIle) of CADDocument My code as below. ----------------------- Item docItem = myAras.newItem("CAD", "get"); docItem .setAttribute("select", "*"); docItem.setProperty("item_number", "ABC"); Item relItem = myAras.newItem("CADFiles", "get"); relItem .setAttribute("select", "*"); docItem.addRelationship(relItem );24KViews0likes13CommentsGet CAD file with REST API
Hi, I try to read my CAD file with REST API like localhost/.../CAD , it return like below. { "@odata.context": "">localhost/.../$metadata, "value": [ { "authoring_tool": "SolidWorks", "classification": "Mechanical/Part", "created_on": "2018-06-13T02:45:26", "description": "First CAD Docment", "generation": "1", "has_change_pending": "0", "id": "1260956E892E4879B93D6F64F8B683CC", "is_current": "1", "is_released": "0", "is_standard": "0", "is_template": "0", "keyed_name": "CAD01", "major_rev": "A", "modified_on": "2018-06-13T02:45:26", "name": "CAD01", "new_version": "1", "not_lockable": "0", "state": "Preliminary", "item_number": "CAD01" } ] } But i can't able to fetch the CAD file. How can i resolve this issue? Thanks & Regards, Sathishkumar C.22KViews0likes6CommentsHow to View only CAD document instead of downloading it
I am trying to create an CAD document where I attached a CAD file as Viewable file, I want to only show that file to logged in user instead of downloading it, so is there any option, or how we can configure that to view only the CAD File.12KViews0likes6CommentsCreate CAD Document using IOM API
Hi, How can I create and attach file with a CAD Document through IOM API? Here is the code I am trying to implement. <hr /> // Create the CAd Document item var docItem = MyInnovator.newItem("CAD", "add"); docItem.setProperty("item_number", "CADDoc 004"); // Create the File item and set the path to the file. var fileItem = MyInnovator.newItem("File", "add"); fileItem.setProperty("filename", "My Document.docx"); fileItem.attachPhysicalFile("D:\\My Document.docx"); // Create the relationship between the CAd Document and File var relItem = MyInnovator.newItem("CADFiles", "add"); docItem.addRelationship(relItem); relItem.setRelatedItem(fileItem); var results = docItem.apply(); <hr /> I guess CAD files are null able type of relation since there is null value in related id column in CADFiles table...8.6KViews0likes5CommentsCAD documents management without connector
Hi, we have done an Aras installation for demo/ test purposes. So we have the free downloaded version, no connectors. On the side of regular documents, parts, BOM etc. everything goes well. Where I get stuck is uploading/ managing CAD (Inventor) files. The question “can you manage CAD files and relationships without a CAD connector” has come up several times (1), but I have not found a clear answer. Aras states many times that it can manage/ vault any kind of file with or without a connector but a clear, concise tutorial is needed! The main question is: Without a CAD connector, do I upload the CAD files in “documents” or in “CAD documents” (“CAD documents are mainly used by CAD integrations. It was set by Aras to standardize the way CAD integrations were made.”). Either way, can you give a step-by-step instruction? If CAD models must be uploaded in “CAD documents” it is not clear what the relationship is between the “native file”/ “viewable file” fields and the “files” tab (lower part of the screen, where files are uploaded). Below is a link (2) – instruction that says to first upload the files into the vault and then connect them to the “native” and “viewable” fields. Link to earlier post: [1] community.aras.com/.../ [2] community.aras.com/.../8KViews1like3CommentsAdd, Export & Import CAD Documents with attachments
Hello, In Aras Innovator 12, I'm trying to experiment with exporting of parts, which are having a CAD Document attached to them (which of course, has a file attached to it). I added the Part, CAD Document, File, CADFiles and Part CAD to the package and did the export process, yet, at the import process I'm receiving the message: [File Item cannot be added.]. I also tried to copy/paste the files from the original Vault to the destination Vault, but got the same message. I tried to move these files with backup operation and it was successful, but as I have to move only a few files, it would be better, if I can solve this with the export/import tool. Thank you! Chris6.5KViews0likes2CommentsCreate event for property update
Hello, I am new to ARAS development, but not new in development :) Trying to understand the ARAS development structure. Right now I am stuck in one implementation on CAD Document property - I want to get the full file path chose as a Native File - Also I want to update few properties on CAD Document Please guide me Thanks, Swapnil5.7KViews0likes3Comments