SolidWorks UsingGlobalVariableAcrossPartsAndInAssemblies

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • You can link parts in SolidWorks together using a variety of techniques, including in-context part creation using top-down design. However, you might find it easier to link dimensions in parts via global variables and equations based on global variables, which can be saved in a text file and imported into each part.
    You can also define global variables in an assembly -- either directly or by importing into the equation editor -- and assign them to individual parts that you have brought into the assembly or that you create in the context of the assembly. You can't use the global variable when you are creating the new part in a sketch, but you can give each dimension a value and then close the part. Now by double-clicking on the part, you can then edit the dimension using the equal sign and selecting the Global Variable from the drop-down.
    I had a question about adding variables to the text file and then linking them to a part or assembly. That can be done, but you have to be careful not to re-import all the variables that are already in that part or assembly. You can select just the new ones. You also have to check the box for that new variable in the column between "evaluates to" and "comments" that is identified with an icon that looks like a notepad and for some reason doesn't display a roll-over. That will cause it to link back to the text file and update your part. No need to unlink all global variable. All of the variable you want linked should have that box checked off.

Комментарии • 33

  • @user-hd6qm4mw4i
    @user-hd6qm4mw4i 7 месяцев назад

    Hello Dan , This was my first time having your video and it is very good. I am trying to get your videos as much as I can, now that I have few days off, I would like to learn more about the equation and all there is about SolidWorks. Thanks and I will try to follow you. Have a geat day.

  • @eidurorn
    @eidurorn 4 месяца назад

    Hello Dan, I'm pretty sure that you can't access the Global variables while in the sketch is because SolidWorks needs to "save" the "part" in memory before you can use Global variables in it. Technically as you are in a new sketch and have not exited it for SolidWorks to do that. If you exit out of the sketch and then edit it you can use Global variables, you do not need to create a dimension and create a feature in the sketch before.
    Just exit the sketch and edit it again and then you have access to the Global variables :)
    Keep up the good work in these videos

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  4 месяца назад

      Thanks for weighing in. I may not get to revising this one right away, but I will keep making videos for my students and making them public.

  • @srenstrmandersen8531
    @srenstrmandersen8531 9 месяцев назад

    Thanks for the great video Dan. This helped me alot with a project i'm working on 😊

  • @jvwMUSIC
    @jvwMUSIC 11 месяцев назад

    i took an advanced cad course so i know good modeling practices but it was all in Creo so I don't know some of these Solidworks specific tips. Solidworks is the thing i had my first class on and what i actually work with so i have a good foundation. I've been going through and learning things like hotkeys just recently.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  11 месяцев назад

      OK

    • @jvwMUSIC
      @jvwMUSIC 11 месяцев назад

      @@DanAbbott-SMCC thank you for the upload

  • @kalpitkatpara4363
    @kalpitkatpara4363 Год назад

    Great Explanation! Thank you for the video

  • @Cherub1m7
    @Cherub1m7 8 месяцев назад

    thank you so much . this video was very helpful

  • @TheTecnicamente
    @TheTecnicamente 6 месяцев назад

    Hi Dan I'm a self taught user and I never took teachings in the field, just figured stuff out on my own. I was wondering, you mentioned top down design in 13:05 , how does that differ from this workflow, have you any videos on it ? I'm really interested! Thanks!

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  6 месяцев назад +1

      There are a few other videos that deal with equations. Global variable are fairly straightforward, but the process can get fairly involved. You might find the video on tapers and that on configuration tables useful.

  • @oneart6002
    @oneart6002 Год назад

    Hi Dan, thank you for making this video. I have been teaching myself how to use SolidWorks for the purpose of fine hardwood furniture design and construction. I’m working on a maple workbench assembly file that I made using a top-down approach. You mentioned this being cumbersome. I would greatly appreciate an opportunity to discuss design philosophy with you as there are not many knowledgeable people to turn to for help on this subject. Please let me know if this is something you may be open to, I’m also local to your region.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  Год назад +1

      You're welcome for the video. I don't have much time right now though. Since you are nearby, you might consider taking AEDD170 at Southern Maine Community College this fall, which I teach. It requires an individual project, so you could use your workbench as a test case.

    • @oneart6002
      @oneart6002 Год назад

      @@DanAbbott-SMCC Thank you for responding to me Dan. I understand your time is limited, but perhaps you can afford me one more response here in regards to a specific problem I have encountered. I created a .txt file global variable list and imported it into my assembly file (that I designed top down). When I attempt to edit the dimensions and link the imported global variables by entering the = sign, they are simply absent. Only Functions, File Properties, and measure show up. I did notice that if I create a new sketch (not within a new part) then the global variable are accessible, however this does not do me much good. So my question to you is this a Solidworks bug or is it a function of my top down assembly?

  • @ea6051
    @ea6051 Год назад

    great video! thank you for making it

  • @slowvag8v
    @slowvag8v Год назад

    great video

  • @enderkasim
    @enderkasim 11 месяцев назад

    Thank you for the video. I used this to a and it is great...but I have troubles when making copies of an assembly. Once a the file is linked, even if you save as with references file reference stays the same. Is there a wa to go around this?

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  11 месяцев назад

      The best way to make copies of an assembly is with the "pack and go" function. I'm not exactly sure what you are asking, however, so this might not be responsive to your question.

  • @try2bneutral
    @try2bneutral 2 года назад

    Thankyou

  • @joshuahixon4100
    @joshuahixon4100 Год назад

    Thanks for the video! I have a couple questions.
    You can make Global variables available in only the assebly ans set part variables equal to these once the part is loaded in the assembly. Opening the part file the dimention shows up as a read only. Is doing this accepable practice?
    If I set up my gobal variable text file, import the file in to the parts and then realizes I want another variable how do I link it? It does not seem to do this automatically is there a way to make it update this automatically?
    Thanks!

    • @joshuahixon4100
      @joshuahixon4100 Год назад +1

      Thus far the only way I have found to add a global variable to the text file and part is to add it to the text file. Unlink and deleate all my gobal variables in the part and then click link gobal variables. Any other method either does not sink to the text file or does not sink from the text file to the part.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  Год назад

      Sorry I didn't see this earlier. Busy semester. You can add global variables to the text file, but you have to import that new variable into the file in order to use it. You must also check the box in the column between "evaluates to" and "comments" that is identified with an icon that looks like a notepad and for some reason doesn't display a roll-over. That will cause it to link back to the text file and update your part. No need to unlink all global variable. If that doesn't answer your question, let me know.

  • @mtzmechengr5781
    @mtzmechengr5781 Год назад

    Can I share a table in one part to another part. The equation editor is a bit annoying to use.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  Год назад +1

      If I understand your question, I doubt it since the configuration table is linked to specific named dimensions, so the dimensions would have to exist in the new part with the same names. I'll try it if I get a chance, but have you tried it? Maybe if the equation manager contained only global variables, but not equations linked to dimensions? It doesn't seem to work, even for just global variables, but I'll look into it.