In certain cases, especially when including assembly drawings containing user-added accessories, it is necessary to programmatically modify any related drawings to update corresponding drawing annotations or other elements. If your drawing contains an iLogic rule named C360_OnPublishDrawing, the C360 system will execute the rule when a user requests that drawing.
Examples of how the C360_OnPublishDrawing rule can be used include:
- Scaling the views to fit nicely on the sheet, depending on the current size of the model.
- Identifying any added accessories, and adding appropriate dimensions to the relevant views.
- Adding additional sheets and views for each added accessory.
It is up to the admin-user to program the rule to execute the desired action.
Note: It is critical that drawing views refer to the correct Level of Detail for the model. When using drag and drop accessories, Configurator 360 will create a new non-Master LOD if one does not exist. In order for your drawing to refer to the correct one, you should create it in advance in the assembly (usually this will already exist).
To customize a drawing when publishing:
- Add the C360_OnPublishDrawing iLogic rule to your IDW file. It is up to you to program the rule. You will probably need to use the iLogic snippets under Advanced Drawing API to gain access to the full Inventor API.
- Upload the base design. If uploading from Inventor, select
All files in this assembly's folder and subfolders. If you are creating your own ZIP file, be sure to include the IDW file.
- Select the appropriate output types (PDF, for example) on the Configurator 360 Options Downloads tab.