Family: cant use both model text value parameter and dimention parameter

Family: cant use both model text value parameter and dimention parameter

danezeq
Collaborator Collaborator
2,583 Views
19 Replies
Message 1 of 20

Family: cant use both model text value parameter and dimention parameter

danezeq
Collaborator
Collaborator

I keep trying to build a sign family that display parametric text on both side of the sign

AND

Keeping that text vertically and horizontally centered.

I manged to do ONLY one of them each time. tried everything for almost 50 hours virtually without sleeping!

 

I tried change the parameters both instance and type, tried to use reference lines instead of planes..etc

 

Does anybody has a clue?

https://www.youtube.com/watch?v=vGcsU4lCZAw

 

Note: in this video i occasionally opening family type window and change type - in the purpose of check if the error appears.

0 Likes
Accepted solutions (1)
2,584 Views
19 Replies
Replies (19)
Message 2 of 20

martijn_pater
Advisor
Advisor

Try aligning and dimensioning to a reference plane instead of the model text directly. I can't seem to replicate the issue  here though, what happens if you use different text font? (not that I see how that would be related)

0 Likes
Message 3 of 20

danezeq
Collaborator
Collaborator

Here is the file

0 Likes
Message 4 of 20

danezeq
Collaborator
Collaborator

But then i should align the reference plane to the model text no?

0 Likes
Message 5 of 20

martijn_pater
Advisor
Advisor

You would align the text to the reference plane. Added an equality dimension to that, see attached.

0 Likes
Message 6 of 20

danezeq
Collaborator
Collaborator

The problem still there (in the attached file)

When i assign the back text parameter for the back text, i get the constrains not satisfaied error as soon as i change type.

 

https://www.youtube.com/watch?v=e1KQx0a8MEA

0 Likes
Message 7 of 20

martijn_pater
Advisor
Advisor

Try to (re-)align after you've associated the parameter.

0 Likes
Message 8 of 20

danezeq
Collaborator
Collaborator

i released the two locks of the back model text and re aligned it to the two reference lines (vertical and horizontal) , and lock it.  Again, some of the types give back this constraints not satisfied error.

0 Likes
Message 9 of 20

danezeq
Collaborator
Collaborator

Here is the exact way i ruined your file:

https://www.youtube.com/watch?v=TZMzr9V6XLM

0 Likes
Message 10 of 20

martijn_pater
Advisor
Advisor

I did manage to reconstruct the error earlier, it did seem to work after realigning though. Sorry, would have to look at it again, but can't right now, away from computer. It's a little difficult to deconstruct though, language wise, maybe i was missing something. Perhaps it would be better/easier to nest the model text as family...

0 Likes
Message 11 of 20

martijn_pater
Advisor
Advisor

Except for the "empty" text message for some text fields, the family should work. The difference was with the video you showed, is that I did not constrain the family horizontally. Just vertically with equality dimension. I don't think it's nescessary to constrain it horizontally, since your sign has equality dimensions to all sides, therefor always being in the middle. So if you have your text set to "center" this should always be centered anyway.

0 Likes
Message 12 of 20

RDAOU
Mentor
Mentor
Accepted solution

@danezeq 

 

Model the Text in a Generic Model >>  nest it into the Special Equipment Family >> lock it to the center of the plate. The equality measurement string needs to be anchored properly for it to behave centric. It is more or less similar to the single sided sign posted to your other question. See screencast below.

 

Note: Forum not allowing me to attach the .rfa (no attach button for some reason). If you want the .rfa, PM me your email and I will send it via wesendit.com

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 13 of 20

martijn_pater
Advisor
Advisor

Yes, nesting it as family probably allows you to constrain it better, I think I might have mentioned doing that. Although with the family at hand I don't really see how it would not be properly centered as you say, as the sign itself is constrained horizontally and the text vertically to the sign itself. Once aligned (not locked) to the center that text is going to stay in position... unless I missed some horizontal offset parameter.

0 Likes
Message 14 of 20

danezeq
Collaborator
Collaborator

Okay for some reason it works well now. i didn't use @RDAOU 's method for now (actually i need to seat and go deep into that)

I HATE it when a problem which i had go away and disappear without me to learn something.

that is the case.

I really want to point the solution for archive purposes (for the next users who will search for the same issue) and it's frustrating that i cannot tell what exactly solve it.

few guesses:

1. didn't use reference LINES

2. i draw 4 reference lines, 2 for each view and didn't use the same reference line for both views.

 

Still, some other problems occur now like i get the same "constraints not satisfied" error when trying to change the text size (of the model text)

 

0 Likes
Message 15 of 20

martijn_pater
Advisor
Advisor

Ah ok you want to give it parametric height, didn't realise that before then it is better to nest the model text as family. The reason is that the text alignment changes in relation to the reference plane it is constrained to. (You can also draw an additional reference plane with parametric dimension to the equality reference plane, related to the text height parameter. correction, can't make that parametric unless nested = family loaded into other family) You can do that following the screencast by @RDAOU (who apparently uploads too many solutions and reached some sort of forum limit 😉 ) This way you can associate a height parameter from the nested/loaded family and constrain it to the center.

Constrain and alignment issueConstrain and alignment issue

0 Likes
Message 16 of 20

danezeq
Collaborator
Collaborator

Sorry for the embarrassing question: NESTING means a "family inside a family"?

after googling and youtubing "nesting" this is my only guess..

0 Likes
Message 17 of 20

RDAOU
Mentor
Mentor

@danezeq 

 

Make the plate visible in elevation (front/back) and test it in a model. 

 

Unsubscribing to this post...again if you need the file toss your email into my inbox I am still not getting the attach button when I reply to message!

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 18 of 20

martijn_pater
Advisor
Advisor

No worries, a nested family is exactly that, a family loaded into another family. I´ve attached an example .rfa for the model text alignment and the parametric height.

edit: Just realized I used a face based family template for it. But you can also use generic model with workplane based selection box turned on as shown before. Both should work, constraining the model text works the same also.




0 Likes
Message 19 of 20

danezeq
Collaborator
Collaborator

Thank you @martijn_pater  and @RDAOU  for all your big help.

Message 20 of 20

AAlsarhanGL73L
Community Visitor
Community Visitor

can we have width parameter applied? 

0 Likes