03-20-2018
05:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-20-2018
05:31 AM
Try:
dim occ as ComponentOccurrence
If TypeOf JustSelectedEntities.Item(1) Is ComponentOccurrence Then
set occ = JustSelectedEntities.Item(1)
end if
oForm.TextBox2.Text= occ.name
or
oForm.TextBox2.Text= occ.definition.document.propertysets.item(3).item("Part Number").value