I second that last post, The view-port reactor is brilliant!!! - thanks for that.
But I'd love for the label block for the view to go on a specific layer as well.
I'm also crap at reactors at the moment so any help is much appreciated!
Thanks!
-JP
Hey gang,
I recently revisited this and made some headway.
Lee Mac's Layer Director does indeed work in some of these situations. I was just in the dar about what commands were being issued when you place a view/callout using the SSM. So here is the code I used in Lee's routine (SSM commands in RED):
;;-----------------------------------------------------------------------------------------------------------------------------------------------------;; ;; Command Pattern | Layer Name | Description | Colour | Linetype | Lineweight | Plot | Plot Style ;; ;;-----------------------------------------------------------------------------------------------------------------------------------------------------;; ;; [string] | [string] | [string] | 0 < int <256 | [string] | -3 = Default | 1 = Will Plot | [string] ;; ;; | | Use "" for none | | | 0 <= int <= 211 | 0 = Won't Plot | Use nil for CTB ;; ;;-----------------------------------------------------------------------------------------------------------------------------------------------------;; ("*PLACEVIEW*" "L-PS-VPORT" "Paper Space - Viewport, NO PLOT" 5 "Continuous" -3 0 nil ) ("*CALLOUT*" "L-ANNO-SYMB" "Annotations - Symbols" 3 "Continuous" -3 1 nil )
So using this, viewports go on the correct layer when view is placed for the SSM and placed callout do too, however, when placing a view, the callout that is placed along with it still goes on the current layer.
Any help in figuring out which command is issue to place that block is appreciated, as alwasy