Results 1 to 3 of 3

Thread: Can I set Drawing Orientation in VB?

  1. #1
    Member
    Join Date
    2007-12
    Posts
    4
    Login to Give a bone
    0

    Default Can I set Drawing Orientation in VB?

    I am using AutoCad 2004.

    I need to set the Drawing Orientation programatically from inside VB.
    I am using the 'ThisDrawing' object to do most of the other work I need.

    But when I check its structure in VB's Watch Window, I can't find an Orientation property.

    I also used the on-line AutoCad help, and I can't find a reference there either.

    For a number of reasons, I cannot use a plot config file to set this.

    Thanks, gvp

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    5,756
    Login to Give a bone
    0

    Default Re: Can I set Drawing Orientation in VB?

    First, welcome to the forums.

    Check out the PlotConfiguration.PlotRotation property.
    C:> ED WORKING....

  3. #3
    Member
    Join Date
    2007-12
    Posts
    4
    Login to Give a bone
    0

    Default Re: Can I set Drawing Orientation in VB?

    Thanks. The plot rotation settings did indeed set the orientation correctly.
    For my application, I needed "upside down Landscape", so setting PlotRotation = ac180degrees worked nicely.

Similar Threads

  1. 2012: UCS Orientation
    By cjshaw in forum AutoCAD LT - General
    Replies: 14
    Last Post: 2013-06-19, 03:00 PM
  2. 2011: Tag Orientation
    By huntbh in forum Revit Structure - General
    Replies: 2
    Last Post: 2012-05-04, 11:58 PM
  3. UCS Orientation
    By dan.spinella in forum AutoCAD 3D (2007 and above)
    Replies: 2
    Last Post: 2010-04-23, 02:51 PM
  4. dim orientation?
    By smdin79 in forum AutoCAD LT - General
    Replies: 13
    Last Post: 2005-04-19, 03:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •