Get 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.22KViews0likes6CommentsCreate 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.6KViews0likes5CommentsCreate 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.7KViews0likes3CommentsUploading CADdocs with Relationships from local PC to ARAS
Hi All, looking to create a method to allow me to upload CADdocs into Aras, from my local computer, without needing to use a CAD Connector. I am new to developing for Aras and could use some pointers. Does anyone have any ideas or could lead me down the right path to get something started. I'm envisioning a form where I select the top-level assembly and its children from a folder on my desktop and upload them into Aras. Any help or tips are appreciated!3.3KViews0likes1Commentadd access is denied for CAD
// Create the CAD Document item var docItem = MyInnovator.newItem("CAD", "add"); docItem.setProperty("item_number", "CADDoc 004"); // Create the relationship between the CAd Document and File var relItem = MyInnovator.newItem("CADFiles", "add"); relItem.setFileProperty("attached_file", @"C:\Temp\Test.txt"); docItem.addRelationship(relItem); var results = docItem.apply(); Iam using above source to create CAD Document, but i get error from server: "add access is denied for CAD" What do you know about my problem? please!2.4KViews0likes0CommentsChange CAD Structure to Float
Good day. Currently we do not have a working CAD connector due to our network infrastructure. I want to bring all of the CAD files into Aras so they are all in a single location and create a relational data structure. I noticed that the CAD files added to the CAD Structure act like they are Fixed, but the related_id of CAD Structure is set to float. How can I change this? I am not seeing anything that is causing this. Thank you for your help.1.4KViews0likes2CommentsAdd Documents To BOM Structure
Like the title says. I need the PDF version of all CAD documents to be shown in BOM and BOM Structure. Also, these have to be downloadable, if I can add a "Download All' button that would be cherry on top! I saw a post there similar to this. Do I need to edit the SQL query for this? Add joins to bring in the CAD documents? Which sql query would need to be edited? and is the "Download All" button implemented. If someone can give me the detailed steps to accomplish this that would be awesome. Thanks!0Views0likes1Comment