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

    Autodesk Inventor Customization

    Reply
    Contributor
    Posts: 13
    Registered: ‎09-03-2012

    i-Logic sectional views

    09-13-2012 11:11 PM in reply to: mehatfie

    hello,

     

                     in ilogic how can i create sectional views in drawing sheets and detail view also for appropriate positions.

     

    Thanks

    karthick

    Please use plain text.
    Mentor
    mehatfie
    Posts: 163
    Registered: ‎02-10-2012

    Re: i-Logic sectional views

    09-14-2012 05:25 AM in reply to: karram

    Hi Karthick,

     

    In my original code I had a function that created Detail Views. If you look there then you should be able to use most of the function and I'm sure you should be able to insert the Section View Code from the API and make a function for that as well from the bases of the code.

     

    Regards
    Mitch

    Please use plain text.
    Contributor
    Posts: 13
    Registered: ‎09-03-2012

    Re: i-Logic sectional views

    09-14-2012 05:32 AM in reply to: mehatfie

     

               I am new for the creation of section view and detail  in i-logic. So i need more clarification about the code. I am not able understand your orginal code, its bit of confusing, because you used the your inventor model parameter like (inlet flange, outlet flage). So there iam not getting clearly. So pls guide me.

     

    Thanks

    Karthick

    Please use plain text.
    Mentor
    mehatfie
    Posts: 163
    Registered: ‎02-10-2012

    Re: i-Logic sectional views

    09-14-2012 05:43 AM in reply to: karram

    Hi Karthick, 

     

    I believe the most helpful thing I can teach you is how to use the Inventor's API if you do not know how to do so.

     

    If you go to the "Tools" tab and click on the "VBA Editor" Button,  a new window wwill pop up in Inventor. From here, press F2 and the object browser should open for the API.

     

    Scroll through the classes in the side bar until you come to "DrawingViews," in the main window, a list should come up with all of the possible options that may be used from DrawingViews. You are looking for "AddDetailView." If you select this option by highlighting it and proceed to press F!, a new window will appear with the help options for this function. A description of everything required to use this function will appear here.

     

    Let me know if you need further clarification

     

     

    Regards

    Mitch

    Please use plain text.
    Contributor
    Posts: 13
    Registered: ‎09-03-2012

    Re: i-Logic sectional views

    09-19-2012 09:47 PM in reply to: mehatfie

    Hello,

     

    1. I create sectional views in Assembly model.
    2. In that how to get edge name in assembly model its very confusing to me.
    3. Is there any tool, to displays the edge name or sketch name in inventor to make VBA code.
    For example: Some of sample VBA program, they use( sketchline 1, drawcurve 1..).how to get these name in existing model.

     

    Thanks
    karthick

    Please use plain text.
    Mentor
    mehatfie
    Posts: 163
    Registered: ‎02-10-2012

    Re: i-Logic sectional views

    09-21-2012 05:36 AM in reply to: karram

    Hi Karthick

     

    I believe what you're seeing is code that they create the sketchline in. Since they are creating it, you can name it and keep track of this line if you want to use it in further code. The drawcurve is probably a similar concept.

     

    In my code I created a search engine, where you enter the length of the line, orientation, and other descriptive comments to specify which line you are looking for. If you look back to my descrpition of the CreateLinearDimension, you should be able to understand the type of search engine you'd need to create. You can also refer to the code file for reference in creating your own.

     

    Regards

    Mitch

    Please use plain text.
    Valued Contributor
    Posts: 82
    Registered: ‎04-30-2012

    Re: i-Logic sectional views

    02-08-2013 03:23 AM in reply to: karram

    Hi all!

     

    I just want to create a automatic isoview at my first page of my assembly who are at my second page, all with ilogic, anybody abble to help me :smileyhappy:

     

    Thanks!

    Please use plain text.
    Active Contributor
    Posts: 46
    Registered: ‎02-25-2007

    Re: i-Logic sectional views

    02-13-2013 03:42 AM in reply to: karram

    Hi Mitch,

     

    Great work.

     

    I am trying to follow you to figure out how to dimensioning a circle.

     

    Peter

     

    Please use plain text.