Message 1 of 7
Changing Positional Representation Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to change a positional representation of a subassembly with the API, but I run into this error, "Unspecified error (Exception from HRESULT: 0x80004005(E_FAIL):
It is odd because I am able to change the representation of the subassembly manually.
For Each oCompOcc In oCompDef.Occurrences If Component.IsActive("REJECT DEVICE:1") = True Then If oCompOcc.Name = "REJECT DEVICE:1" Then oCompOcc.ActivePositionalRepresentation = "Master" 'Fails at this point End If End If Next