AssociateElementParameterToFamilyParameter conflikt with formula

AssociateElementParameterToFamilyParameter conflikt with formula

MarryTookMyCoffe
Collaborator Collaborator
728 Views
2 Replies
Message 1 of 3

AssociateElementParameterToFamilyParameter conflikt with formula

MarryTookMyCoffe
Collaborator
Collaborator

There is a problem with Family Parameter with formula that would be associate with element parameter:
I create a formula in to family parameter and it work fine until i try to associate it witch element parameter, then i get :
Parameter "Connection Out or In" cannot be changed because it is defined by formula

but when i doing it with UI this alert never come and it work fine.
I can't just do this part always manual. 
Parameters are bool type, what some how is imported because I did similar thing for int par and it work fine.

-------------------------------------------------------------
--------------------------------|\/\/|------------------------
do not worry it only gonna take Autodesk 5 years to fix bug
0 Likes
Accepted solutions (1)
729 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk
Accepted solution

If you wish to report a problem for this and have the development team take a look for you, they will require a reproducible case including exact steps to demonstrate all the different aspects that you mention:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#1b

 

  • It works in the UI
  • It work with an int parameter
  • It does not work via the API for a bool parameter

 

Thank you!

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 3

MarryTookMyCoffe
Collaborator
Collaborator

so I did a test case for it and i Find out what was reason for this :

Snippet

overwriteParameterValues = true;

I have to stop making a 10h shift hole week,I start to make a nobie mistake.

 

but thx for answer.

 

The moral of this is to:

"Always do a unit test"

-------------------------------------------------------------
--------------------------------|\/\/|------------------------
do not worry it only gonna take Autodesk 5 years to fix bug
0 Likes