I have this macro, that takes a workplane, saves it as an MI file and then loads it into annotation.
Code:
(sd-defdialog 'wp2anno
:dialog-title "WP to Annotation"
:variables
'(
(wptje :initial-value (sd-inq-curr-wp) :value-type :wp :title "Workplane")
)
:local-functions
'(
(doit ()
(mi_out :select :workplane wptje :FILENAME "C:/working/out/plot.mi" :OVERWRITE )
(AM_LOAD_ANY_MI :FILENAME "C:/working/out/plot.mi")
)
)
:ok-action
'(doit)
)