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

    Autodesk Inventor

    Reply
    Contributor
    Posts: 19
    Registered: ‎06-18-2012

    Multi parameter, iproperty

    64 Views, 2 Replies
    06-26-2012 12:59 AM

    How to set multi parameter, iproperty using ilogic (or smth else)?

    I hav eparameters: d1=50, d2=100, d3=5. I need to set a new multi parameter/iproperty that the final value is:

    Angle 50x100x5 (suppousedly code should contain smth like: "Angle", "d1", "x", "d2", "x", "d3") but I do not know exactly... ;(

    Please Help!

    Please use plain text.
    Contributor
    gerard87
    Posts: 12
    Registered: ‎08-17-2011

    Re: Multi parameter, iproperty

    06-26-2012 02:45 AM in reply to: ZachJa

    parameters:

     

    d1=50

    d2=100

    d3=5

     

    make a parameter called "angle" in de parameter window and just make it equal to the code below. Then you will have a parameter called angle and it is calculated with d1*d2*d3.

     

    angle=d1*d2*d3

     

    or if you mean you want an string value of angle = 50x100x5

     

    you can do it like this, make a string parameter and then add this in a ilogic rule.

     

    sParameter= "angle" & "x" & d1 & "x" & d2 & "x" & d3

     

     

    Please use plain text.
    Contributor
    Posts: 19
    Registered: ‎06-18-2012

    Re: Multi parameter, iproperty

    06-26-2012 03:23 AM in reply to: gerard87

    Thank You!

    Please use plain text.