Message 1 of 6
iLogic New Drawing from Template: Select Component for View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all!
I've created a .idw drawing that already contains views and dimensions from a template model (ipt).
I have a rule that creates a new drawing from this template using this line
Dim oDrawingDoc As DrawingDocument = ThisApplication.Documents.Add(DocumentTypeEnum.kDrawingDocumentObject, templateFile, True)However when the new drawing is created, the model and dimensions are not present. I am sure that this is due to the fact that when I manually (no iLogic) create a new drawing for this template I get a popup window to "Select Component for View". I have not found a way to specify this Component via iLogic hence the template is opened without the views and dimensions.
Anyone have a clue on how to do this? The objective is to then replace the model reference with a newly created part (which is based on the original template model)
Thanks!