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

    Autodesk Inventor

    Reply
    Contributor
    Posts: 21
    Registered: ‎06-08-2012

    Custom Content Center - boolean user parameter

    298 Views, 6 Replies
    08-27-2012 01:14 PM

    I have added a blank column to a custom content center family table that has a boolean data type.  When I try to map this to a boolean user parameter in the family template using the parameter mapping in the family properties, I get a "Data types mismatch".  In the template this parameter was set to false.  Am I doing something wrong, or is there a trick to getting this mapped correctly?

    Thanks!

    Please use plain text.
    Employee
    Posts: 82
    Registered: ‎08-28-2007

    Re: Custom Content Center - boolean user parameter

    08-27-2012 07:29 PM in reply to: cmines

    Could you attach your files here?  It will help to figure out your problem.

    Inventor Professional 2013

    Jingyi Liu
    Quality Assurance Team
    Autodesk
    Please use plain text.
    Contributor
    Posts: 21
    Registered: ‎06-08-2012

    Re: Custom Content Center - boolean user parameter

    08-28-2012 07:14 AM in reply to: cmines

    I hope these are the files you need.  Please let me know if they aren't.  I didn't know where the xls file for the custom family is kept, so I just did a save as.   I also noticed the labels for the columns I added were missing, so I took a screen shot of the table in Inventor - where they show up

    Thanks for your help!

    Please use plain text.
    Employee
    Posts: 82
    Registered: ‎08-28-2007

    Re: Custom Content Center - boolean user parameter

    08-28-2012 10:06 PM in reply to: cmines

    Hi Cmines

    The reason you missed the label was due to no column caption.

     

    Through the model and  spreadsheet, I almost see your point, there are several boolean type user parameters, you want to map to it.

     

    you can only map a boolean parameter to feature suppression or working feature visibility.

     

    So far, you can only define a numeric type user parameter in your model, and add a integer/real type in family table to map it.

    Inventor Professional 2013

    Jingyi Liu
    Quality Assurance Team
    Autodesk
    Please use plain text.
    Contributor
    Posts: 21
    Registered: ‎06-08-2012

    Re: Custom Content Center - boolean user parameter

    08-29-2012 06:01 AM in reply to: cmines

    Hi Jingyi Liu,

     

    Thanks for checking in to this.  Just to make sure I understand correctly,  if I have 10 members in a family, for example, that when placed as a standard content center part I need user parameter A to be true and all other members in the family should have user parameter A set to false, it can't be done?  If not, is this a feature that will be added in the future?

    Thanks,

    Chris

     

    Please use plain text.
    Employee
    Posts: 82
    Registered: ‎08-28-2007

    Re: Custom Content Center - boolean user parameter

    08-30-2012 08:24 AM in reply to: cmines

    Yes, it can't be done so far, you can't map a boolean type parameter in family table to a boolean type user parameter in your content center part. 

     

    As a workaround, you can define a numeric type user parameter (unitless) in part, and define a integer/real parameter in family table and assign its value 0 or 1. 

     

    I will log it as a wish.

     

     

    Inventor Professional 2013

    Jingyi Liu
    Quality Assurance Team
    Autodesk
    Please use plain text.
    Contributor
    Posts: 21
    Registered: ‎06-08-2012

    Re: Custom Content Center - boolean user parameter

    08-30-2012 08:35 AM in reply to: cmines

    Thank you so much for your help and suggestion!  I will give it a try.

    Please use plain text.