autodesk-designautomation

Autodesk ObjectId and ElementId in dwg

旧街凉风 提交于 2019-12-11 15:06:22
问题 I am use to develop one web app using Forge API. It's working well and good. At the same time am using design automation in forge. I can able to create Package and it's working fine. I will process the dwg file using forge api preparing to viewer. I can able to view dwg in browser. My issue is I have viewer click event the event click populate the element id. However, my package I can get only the object id. element id and object id totally different. What is the conman id each object client

Autodesk Design Automation API define Plot Settings e.g. greyscale/linewidth

冷暖自知 提交于 2019-12-11 14:25:52
问题 I am searching for an option to define the Plot Settings when converting a .dwg file to a .pdf file. I want to have the converted PDF in greyscale and the linewidth of the Elements is too big. How can I define the Plotsettings in my API call to Forge Design-Automation-API? Thankyou 回答1: You will need to create a custom activity to do this. If you know how to do this using the -PLOT command on the AutoCAD command line then this will be relatively easy exercise. Here's a tutorial that shows how