Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Does anyone know why this is not working?
Sub Main() Dim oDoc As Inventor.DrawingDocument = ThisApplication.ActiveDocument Dim oSheet As Sheet = oDoc.ActiveSheet Dim oPartOnSheet As Inventor.PartDocument = oSheet.DrawingViews(1).ReferencedDocumentDescriptor.ReferencedDocument Dim userParams As Inventor.UserParameters = oPartOnSheet.ComponentDefinition.Parameters.UserParameters param = userParams.AddByValue("Uwaga_8", "", UnitsTypeEnum.kTextUnits) param.IsKey = True End Sub
Solved! Go to Solution.