I'm trying to use a formula in a family that requires the host wall thickness.
I've setup an instance reporting parameter (dimensioned to the host wall faces) - which works fine in reporting the correct value.
But when I try to use that variable in a formula, I keep getting the error:
"Instance Parameters can't be used in Type Parameter formulas."
Is there a way of getting the reported dimension as a Type rather than an Instance - or is there another work around ?
Thanks
Martin
Solved! Go to Solution.
Solved by MKFreiert. Go to Solution.
Thanks - it's kinda obvious when you say it like that. Sometimes you just need to step away to see things - It's working now.
Many thanks,
Martin
Does anyone have a solution for when the family is face based? All of out families are face based and I'd like to be able to adjust some parameters based on the thickness of the host (usually a wall or floor).
I'm not sure this would be viable for a face based family without the possibility of it not updating on many potential host faces. you'd need to add a "thickenss" type parameter to *every* family that could (would) host the element. e.g. if it's a countertop wire grommet and you want to include a top and bottom trim ring, --all of your model in place casework families, countertops, walls, maybe floors, etc would all need to contain the same parameter for the face based family to look at, or it would revert to it's default value when placed on a host that doesn't have that parameter.
it should't be impossible to do it with dynamo, but unless you're doing a lot of these, the back end to get that set up will take time or it's not going to be a trivial plug and play experience for users.
if it's behavior that you need 90% on walls, and occasionally on other things, you could take your wall based family that's constrained to wall faces, and spin it off as a face based family (with the same tagging info) with an instance parameter for the non-wall uses. you'll need to schedule a bit differently, but from a workflow standpoint, as much as possible is automated, and the oddballs are as standard as possible.
You can go to the 'edit family' and select the host wall. Once you select it you will see a wall type in the properties bar, just like how it happens when you select a wall in revit model. Once you pick the type, you can go and edit the wall thickness. Its the same process like how you change wall thickness in revit.
Hope it was clear!
Can't find what you're looking for? Ask the community or share your knowledge.