Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Im having a problem with the vla-put-plotrotation function. The code changes the "PlotRotation" property succesfully but the paper oritentation doesn't change in the screen. Deos any body know the reason? Regeneratng the view doesn't help.
(setq layout_ename (cdr(assoc -1 (dictsearch(cdr(assoc -1(dictsearch(namedobjdict)"ACAD_LAYOUT"))) (getvar "ctab")))))
(vla-put-plotrotation (vlax-ename->vla-object layout_ename) 0) ; SETS PLOT ROTATION: 0 - horisontal, 1-vertical
Solved! Go to Solution.