Message 1 of 3
Add Virtual Component
Not applicable
07-08-2009
12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Any one now why this Code dosent work in a Assembly
I want create a Virtual Component
Inventor 2009 / Sp3
thx for help
Mario
Dim oAsm As AssemblyDocument
Dim oOcc As ComponentOccurrence
Dim oMatrix As Matrix
Set oMatrix = ThisApplication.TransientGeometry.CreateMatrix
Dim vInvVRDesc As String
vInvVRDesc = "test"
Set oOcc = oAsm.ComponentDefinition.Occurrences.AddVirtual(vInvVRDesc, oMatrix)
Any one now why this Code dosent work in a Assembly
I want create a Virtual Component
Inventor 2009 / Sp3
thx for help
Mario
Dim oAsm As AssemblyDocument
Dim oOcc As ComponentOccurrence
Dim oMatrix As Matrix
Set oMatrix = ThisApplication.TransientGeometry.CreateMatrix
Dim vInvVRDesc As String
vInvVRDesc = "test"
Set oOcc = oAsm.ComponentDefinition.Occurrences.AddVirtual(vInvVRDesc, oMatrix)