TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: DraxJDM on May 20, 2021, 05:16:17 AM
-
hey all,
i use the code from Lee mac http://www.lee-mac.com/copyblockfromdrawing.html (http://www.lee-mac.com/copyblockfromdrawing.html)
It works fine, except it imports the block on the current layer.
Can this be changend so the blocks comes in at the layer it is in the source drawing?
-
Try to change CLAYER system variable, import block and then return CLAYER
-
I use the code from Lee mac http://www.lee-mac.com/copyblockfromdrawing.html (http://www.lee-mac.com/copyblockfromdrawing.html)
It works fine, except it imports the block on the current layer.
Can this be changend so the blocks comes in at the layer it is in the source drawing?
The program is importing the block definition from the source drawing and then inserting a reference of such definition into the active drawing; what if there are multiple references in the source drawing, each residing on different layers?
-
there is only 1, reference in the 'source' drawing.
-
Very exciting topic! A solution from the experts here would be very useful and helpful for many users!