Message 1 of 3
Open assembly from Part File and run rule from assembly

Not applicable
01-22-2018
11:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I need to open assembly file from part file and make the assembly file as active document then run external rule,
can you please suggest some code
the below code is not working
Dim sFilePath As String Dim oDoc As Inventor.AssemblyDocument sFilePath = "P:\Bd_NSPB\Assembly_new\Sl_lv_assy_NSPB.iam" oDoc = ThisApplication.Documents.Open(sFilePath,True) oDoc.Activate() iLogicVb.RunExternalRule("Dxf_out") ''InventorVb.DocumentUpdate()
thanks in advance
V.Sureshkumar