Results 1 to 4 of 4

Thread: Dimensioning through VBA

  1. #1
    Member
    Join Date
    2004-03
    Posts
    15
    Login to Give a bone
    0

    Default Dimensioning through VBA

    Dear Friends,

    I took output in idw format from an Inventor model & convert it in dwg format. Now I want to give some dimensions and annotation to my drawing through VBA in AutoCAD. But I am not getting how I can do this?. I am not getting any point from where I can start my dimensions. When inserting a view in idw file. Inventor asks me point of placement which I choose on the screen. But I don't know the exact location of the point as I am selecting this point on the screen. Can anybody help me in this issue.


    Thanks in advance.

    Amey

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: Dimensioning through VBA

    You may be asking more of automation than it can give you. It is possible to iterate thru the drawing database to determine the points for objects, but how would a program know what is relevent, or in which direction the dimension should go?

  3. #3
    Member
    Join Date
    2004-03
    Posts
    15
    Login to Give a bone
    0

    Default Re: Dimensioning through VBA

    Dear RobertB,

    Thanks for your reply.

    I just want to know a single point from where I can start dimensioning. Suppose I am having a hopper drawing which I have taken from Inventor. If I can get co-ordinates of center of hopper then only I can get co-ordinates of other required points. But I am not getting center co-ordinates of center of hopper.


    Can you suggest anything
    Thanks
    Amey

  4. #4
    100 Club mtuersley's Avatar
    Join Date
    2001-12
    Posts
    122
    Login to Give a bone
    0

    Default Re: Dimensioning through VBA

    Only way to do it is to have this as one process -> access Inventor IDW, read it, spit it out to DWG, open DWG and dimension.

    You need to read the geometry inside of Inventor to determine where from and how it was dimensioned. This would need to be temporarily stored then accessed again once in the dwg file.

    If this is not one large process, then there is no way you can do it without user intervention.

Similar Threads

  1. Dual dimensioning with tolerance Dimensioning with punctuation
    By Wish List System in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2014-10-22, 04:47 PM
  2. Help dimensioning in 3d
    By cadman33619 in forum AutoCAD 3D (2007 and above)
    Replies: 1
    Last Post: 2013-07-12, 08:07 PM
  3. 3D Dimensioning
    By dankas in forum AutoCAD 3D (2006 or below)
    Replies: 6
    Last Post: 2010-09-18, 05:19 PM
  4. Dimensioning in PS
    By StephenJ in forum ACA General
    Replies: 3
    Last Post: 2006-07-13, 04:11 PM
  5. dimensioning in 3d
    By scoe in forum Revit Architecture - General
    Replies: 4
    Last Post: 2005-08-30, 08:37 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
  •