Announcement

Collapse
No announcement yet.

Label parameter X and Y axis for Model Text?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Label parameter X and Y axis for Model Text?

    Hey there.
    I was trying to create a family with a model text that have both labels to control its position: in X-axis and in Y-axis.

    But it tells me constraints are not satisfied:



    I need that because I'm making a family of signs, but unfortunately when I change the size of it, I'm not able to locate the model text where I need it to be. The first image shows the model text aligned with the pictograms (icons). The second image shows a different size of sign, so the model text is not in the correct vertical position anymore (not aligned with icons):


    I could only add the label to control the horizontal position (instance parameter) OR the vertical position... Not both at the same time
    Any ideas?

    Thank you.
    Attached Files

    #2
    Try using a nested family. See attached example.
    In an empty family, place your model text and place it as desired in relation to the reference planes there. Set the justification to Left. Create parameters for the text and material.
    Save and close.
    Load this into your signage family and position as needed. You should be able to lock it - but this time you will actually be locking to the reference planes and not the model text.
    Link up your parameters and away you go.
    Is this what you are after?

    Note: When editing the SignageText field in my example, don't go straight to the Apply button - as the text does not seem to be applied. Hit Enter first, then hit Apply.
    Attached Files

    Comment


      #3
      That's exactly what I needed!!! Thank you so much, man!
      Just wondering... What the "shared" function is for, when loading a nested family into another? I see that it brings (shares) all the parameters within the family you're loading into it, so I believe that's the same than linking each parameter to the new family (the "signage family", in my case)?

      Comment


        #4
        Shared sub-families can be scheduled individually in the project, also you can select them with TAB or apply different graphics options to them than the host family.
        Also if you make a host family that uses a Family Type (Also called Label) parameter to switch between different sub-families, all the shared families of the same category in a project will appear in the list.

        So for example, you can have a standard Door family with one sub-family for door panel, and then load as many different panel types as you want into your project. Then you would be able to select any of the panel types you have loaded in the project with the door panel parameter.
        "One must imagine Sisyphus happy." Albert Camus - "The innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may ​do well under the new." Nicolo Machiavelli -"Things that are too complex are not useful, Things that are useful are simple." Mikhail Kalashnikov

        Comment


          #5
          Originally posted by josephpeel View Post
          Shared sub-families can be scheduled individually in the project, also you can select them with TAB or apply different graphics options to them than the host family.
          Also if you make a host family that uses a Family Type (Also called Label) parameter to switch between different sub-families, all the shared families of the same category in a project will appear in the list.

          So for example, you can have a standard Door family with one sub-family for door panel, and then load as many different panel types as you want into your project. Then you would be able to select any of the panel types you have loaded in the project with the door panel parameter.
          Thank you! I think I get it... Let me clarify what I was thinking about it and you tell me if it's possible, is that ok?
          I have different kinds of signs, so I created a family to each one of them (S1 type, S2 type... S6 type... and so on):

          Two examples of signs:



          Before I had one family with diffent family types inside:

          But then I noticed that I couldn't have all the reference planes I needed to each sign type with this method...
          So, I decided to create a family to each sign type:


          Then I loaded these "sub-families" into my main (host) family.
          Now I was able to align the elements (text, pictograms/icons, arrows etc.) to the reference planes, which changes depending the type of sign I decide to use.

          BUT I noticed, since I have different positions and possibilities of having (or not) pictograms aligned to the right or left side of my sign, I had to create a lot of parameters to control the position (which I called offset vertical and horizontal) of each element and it's visibility, material (white or yellow) etc. I had to distinguish each parameter by lines and colums, so I give names like "offset L1", "L1 C3 pictogram color" (line 1, column 3) and so on:



          But since I have about 12 different type of signs, I'll have tons of parameters in the list, I would be crazy to add information in each one, when I load the host family in the project. I know some parameters are only for a specific type of sign (for example, there are signs that only have 1 line, so I would have to hide all elements from other lines with a specific visibility parameter to each one of them).

          So, is it possible to have parameters BY family type, maybe using the SHARED function?
          For example, when I have one type of sign (a subfamily which changes depending on the family type of the HOST family):


          Is it possible to show in the list only the parameters regarding this type of sign?
          And not all the parameters?

          Is this the best way to create this family? What do you think?
          Thank you for your attention to this matter!
          Attached Files

          Comment


            #6
            Originally posted by allan120791 View Post
            Is this the best way to create this family? What do you think?
            Depends on your definition of "best" really.

            Unless you're the interiors/signage outfit, and these models are going straight to fabrication (?) I'd say you've possibly gone "too" far... I attempted similar before, but the near-infinite (and ever-changing) permutations (as you're finding) meant we accepted that offering the signage (modelled like so) was of no real benefit and we simply stuck to HxWxD (overall) sizes until the signage folk took over.

            But nice work all the same. :thumbsup:

            Comment


              #7
              Some items (the pictograms) look like they are more fixed in size than other things (the text size). I don't know if this matches your workflow, but I might try something like this:
              - I would treat each row of the sign as a family. The arrows and pictograms would be nested into the Row family, and all the spacing dimensions would have parameters.
              - The blue "backboard" would be a separate family (parameters for overall size).
              - Set up all the spacing control parameters in the host family (Row Height, Minor Gap, Major Gap, Line Gap, etc). These need to be connected to the nested families' parameters.
              - Each sign size (number of rows) would be its own host family - get all the parameters set up in the longest one and then save-as and trim out the reference planes and extra parameters for the other sizes. My reason for this is that family Types work well for ONE condition changing, not as well for more than one (here you have size and content changing).
              - Manage the content of the rows separately; that way the specialty conditions won't have to be replicated everywhere. For example, not every row needs the pictograms on the right. Those that do can have their spacing parameters connected to "Minor Gap" when they are loaded into the host family. The rows can be changed by reloading an updated family.

              Alternatively, it may be faster for you to make the spacing parameters Shared so that you can schedule them and edit them from a schedule.
              Chris Ellersick

              Comment


                #8
                The pictograms are not more fixed as it seems... it may changes... I may have two arrows (their pictograms and text) in the same line, and if they are both "up" arrows, the alignment for the second arrow will depend on how long it's text is. See the example below. If "International connections" were a smaller or longer text, the position of it's arrow (the second one) would vary:

                With that in mind, I can't have the same spacing parameters to control each line because the values will not always be the same.
                Yeah, the blue "backboard" is already a separated family and it has parameters for overall sizes.
                I'll try to make the spacing parameters Shared and see what happens

                Thank you so much, cellersick and snowyweston :thumbsup:
                Attached Files
                Last edited by allan120791; March 23, 2017, 12:26 AM.

                Comment


                  #9
                  Originally posted by allan120791 View Post
                  I can't have the same spacing parameters to control each line because the values will not always be the same.
                  Won't some be the same? I don't think you have to map all the nested parameters 1:1 to the host family, just make sure they are assigned to something (that makes sense) in the host family.
                  Does this help?
                  Attached Files
                  Chris Ellersick

                  Comment


                    #10
                    Just really few of them... Sometimes I have just one pictogram instead of two before text... When I hide one of them, it would be a problem to all other parameters, I think... I'll try to do as you said and see if it works. Thank you!

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X