AnsweredAssumed Answered

Xpedition Layout: Set RefDes property = DRC Violation?

Question asked by lennart.edenfjord1 on Feb 19, 2020
Latest reply on Feb 20, 2020 by kendall_hiles

I seem to be unable to set the Component.RefDes property in Xpedition Layout. (VX.2.6)

I made a little test script:

 

*****************************

Option Explicit

 

Dim App, Doc, oComp

 

Set App = Application
Set Doc = App.ActiveDocument

 

'Check for license
ValidateServer(Doc)  'Function omitted to reduce clutter

 

Set oComp = Doc.Components.Item(1)
MsgBox oComp.RefDes

 

oComp.RefDes = "R1590"   '<-- Right here I get a Run-Time Error, simply stating: "DRC Violation."    Why? *****************************

Outcomes