Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Forum,
I've made a program in Microsoft Visual Studio using VB.NET that starts Inventor and opens a specific assembly document, this works fine so far. Now i want to run a rule inside this assembly document, i tried looking up some code examples but i dont fully understand them and i cant get them to work.
This is where i am at right now;
Imports System
Imports System.Type
Imports System.Activator
Imports System.Runtime.InteropServices
Imports Inventor
Public Class Form1
'My current dims (used in Private Sub Launch&Open)
'Private Sub Launch&Open (launching inventor and opens assembly doc)
'code
'End Sub
'Private Sub RunRule (for running rule inside my doc)
'????
'End Sub
I don't know what code i can use to run the rule, see the '????' above. Can anyone take me through the steps or maybe show some exampe code?
If more resources are needed from my side let me know, thanks!
Solved! Go to Solution.