I'm working on a large number of package symbols where the subclass (not class) needs to be changed for number of lines.
Using the new axlChangeLayer (16.6) command that in the documentation should support both lines, clines, segments, shapes and text I keep getting the following error (nid is the object id)
axlChangeLayer(nid "PACKAGE GEOMETRY/ASSEMBLY_TOP")E- (SPMHGE-522): Changing line to a different class is not supported.
Anyone that has used this command with succes?
I just tried it and was able to change text from "CONDUCTOR/L1" to "CONDUCTOR/L2".It also worked for "CONDUCTOR/L2" to SUBSTRATE GEOMETRY/OUTLINE".
In reply to aCraig:
That really is weird. I've cut my code down to basically nothing to show the issue that I'm seeing.
Line 14-15 is where I do the copy of an object and then try to change layer of that object. (In my current code I changed this to axlDBCreateLine which works nicely, but it would be nice not to have to work with axlPath commands to do arcs)
In reply to Ejlersen:
It looks like you are trying to change the line to the same layer. When I tried this I get the same error as you.
If you look at the dra file and code it should change from PG/Silkscreen_top to PG/Assembly_top
I can only get text to work, Both line and shape fail. Sounds like a bug.
Messing with this a bit more. I can change from Conductor/L1 to Component Geometry/Assembly_Top. But it errors if I try to change it back to L1. I can also change from Conductor/L1 to Conductor/L2 and back.
Looks like the object has to reside on a Conductor layer to be changed. You should probably ping Cadence.