• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor Customization

    Reply
    Contributor
    Calico5
    Posts: 12
    Registered: ‎10-11-2011

    [iLogic] Control Position of Parts List

    246 Views, 1 Replies
    10-31-2011 02:35 AM

    Hello all,

     

    I am creating a drawing controlled by ilogic. The assembly can vary in size considerably so I have set the IDW to change between sheet size A3 and A2 accordingly using ilogic. However, when the sheet size is changed, the parts list stays in a static position.

     

    Currently, the parts list is situated in the top right corner up against the title block and the border. So when changing from Size A3 to Size A2, the parts list ends up in the middle of the page. Is there anyway i can control the position of the parts list so it changes with the sheet size chage?

     

    I know I could simply move the partslist to the bottom left corner, which is a work around. However, I'd like to be able to keep the drawings in line with the company standard.

     

    As always, any help is appreciated

     

    Many Thanks

    Please use plain text.
    Valued Mentor
    jcneal
    Posts: 273
    Registered: ‎04-10-2010

    Re: [iLogic] Control Position of Parts List

    11-08-2011 09:55 AM in reply to: Calico5

    get partslist's property position, hope it helps.

     

    'get paper size and set position

    dim newposition as point2d

    newposition = oPartslist.position

     

    newposition.x=35

    newposition.y=10

     

    oPartslist.position = newposition

    Please use plain text.