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".
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)
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.