- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am just trying to capture the value of the ActiveLevelOfDetailRepresentation that is under the Item.Definition but when I do it throws an error "Compile error: Argument not optional" and highlights the ".Item". I know that the value is populated because if I do a watch on it, I see what is attached.
I tried this:
Set oSubs = oDef.ReferenceComponents.DerivedAssemblyComponents
Dim DerivedNameRef As String
DerivedNameRef = oSubs.Item.Definition.ActiveLevelOfDetailRepresentation
But when I do that it shows the error and highlights the .Item in the third line above.
Solved! Go to Solution.