Carl-Johan Jonsson
Carl-Johan Jonsson
  • 25
  • 95 035
SolidWorks API: Controling a Cube with C#
Writing a short simple application to control some dimensions of a Cube in SolidWorks using C#.
Thanks to Blue Byte Systems, Inc. for the video on the SolidWorks Singleton code!
www.youtube.com/@BlueByteSystemsInc
ua-cam.com/video/BoeCU3dMb88/v-deo.html
Переглядів: 3 713

Відео

Sketch
Переглядів 7564 роки тому
Introduktion till skisser i SolidWorks.
Ratchet
Переглядів 1,3 тис.5 років тому
Genomgång av övning "Ratchet" i SolidWorks.
Circular Pattern
Переглядів 7885 років тому
Genomgång av övning "Circular-Pattern" i SolidWorks.
Grate
Переглядів 1,4 тис.5 років тому
Genomgång av övning "Grate" i SolidWorks.
Mirror Body
Переглядів 8595 років тому
Genomgång av övning "Mirror-Body" i SolidWorks.
Wheel
Переглядів 1,3 тис.5 років тому
Genomgång av övning "Wheel" i SolidWorks.
Clamp - del 1
Переглядів 1,5 тис.5 років тому
Genomgång av övning "Clamp - del 1" i SolidWorks.
Clamp - del 2
Переглядів 1,2 тис.5 років тому
Genomgång av övning "Clamp - del 2" i SolidWorks.
Clamp - del 3
Переглядів 7365 років тому
Genomgång av övning "Clamp - del 3" i SolidWorks.
Flashlight
Переглядів 1,8 тис.5 років тому
Genomgång av övning "Basic" i SolidWorks.
Blowdryer
Переглядів 1,2 тис.5 років тому
Genomgång av övning "Blowdryer" i SolidWorks.
Universal Joint
Переглядів 9245 років тому
Genomgång av övning "Universal Joint" i SolidWorks.
Multi Body
Переглядів 8095 років тому
Genomgång av övning "Multi-body" i SolidWorks.
Soda bottle
Переглядів 6875 років тому
Genomgång av övning "Soda Bottle" i SolidWorks.
Funnel
Переглядів 2,5 тис.5 років тому
Funnel
SimulationXpress
Переглядів 6745 років тому
SimulationXpress
Router Table
Переглядів 8655 років тому
Router Table
Edge Flange
Переглядів 5765 років тому
Edge Flange
Symmetry
Переглядів 6465 років тому
Symmetry
Spring
Переглядів 5505 років тому
Spring
Introduction to SolidWorks Simulation
Переглядів 2715 років тому
Introduction to SolidWorks Simulation
Assigning material properties in SolidWorks Simulation
Переглядів 4,1 тис.5 років тому
Assigning material properties in SolidWorks Simulation
Beams in SolidWorks Simulation
Переглядів 65 тис.5 років тому
Beams in SolidWorks Simulation
Basic
Переглядів 1,2 тис.5 років тому
Basic

КОМЕНТАРІ

  • @TheEverydayEngineerGC
    @TheEverydayEngineerGC 6 місяців тому

    This was extremely useful, thank you very much!

    • @ajarivas72
      @ajarivas72 6 місяців тому

      It is my experience that Macros in SolidWorks sometimes don’t work. For example, sometimes a sketch is broken depending on where you begin drawing.

  • @mazaax4720
    @mazaax4720 7 місяців тому

    Superb thank u😊

  • @taikibessho
    @taikibessho 8 місяців тому

    very pedagogical! thanks!

  • @yiliang5883
    @yiliang5883 8 місяців тому

    You explained it in great detail. If I want to extract the length, width, and height dimensions of the cude through a program, how should I implement it

    • @ajarivas72
      @ajarivas72 6 місяців тому

      Extract the edges of the cube.

  • @MushtaqAhmad-ro9qm
    @MushtaqAhmad-ro9qm 9 місяців тому

    Sir how we can make code for automation of FEA analysis in SOLIDWORKS??? Plz help i have a project on that.

    • @ajarivas72
      @ajarivas72 6 місяців тому

      That can be done very easily with a VBA macro.

  • @michgeorg1624
    @michgeorg1624 9 місяців тому

    Carl you're the man, great video great explanation

  • @thefallofyugoslavia9825
    @thefallofyugoslavia9825 11 місяців тому

    Cannot convert solid bodies back into beams. Why is this happening?

  • @jccourtney317
    @jccourtney317 Рік тому

    You talk pretty quietly. I had to have my volume on max to be able to hear you, which ends up jolting me because ads or other videos are much, much louder. If I can add a suggestion: increase your microphone volume by like 30 or 40 percent.

    • @kalkhasse
      @kalkhasse Рік тому

      Thanks for the feedback! I will keep that in mind in the future.

  • @drsurfer61
    @drsurfer61 Рік тому

    Do you have an idea why on my test PC swModel.Parameter("name") has not the .Value property (SW 2020)? I managed to get dimensions from model with this code: Dimension swDim; swDim = (Dimension)swModel.Parameter("width@Sketch1"); txtWidth.Text = (swDim.SystemValue * 1000.0).ToString(); Of course this has not immediate reverse form. I'm using .Net 5.0, I had to overcome the absence of Marshal method, but I don't think it's related at all.

    • @kalkhasse
      @kalkhasse Рік тому

      Sorry to say, I have no idea why .Value is not present. But according to SolidWorks API help its an old (obsolete) way of getting and setting the value. In your example it would be swDim.GetValue3() or swDim.SetValue3(). Check the link below for more info. Hope it works out! help.solidworks.com/2020/english/api/sldworksapi/SolidWorks.Interop.sldworks~SolidWorks.Interop.sldworks.IDimension_members.html

  • @lanvo6778
    @lanvo6778 Рік тому

    very good

  • @alializadeh8195
    @alializadeh8195 Рік тому

    Thanx

  • @AbuOmar1970h
    @AbuOmar1970h Рік тому

    THNKS

  • @郭东-y3z
    @郭东-y3z 2 роки тому

    plese make more videos,thks

  • @orthancsmorkaingenjorsbyra6009
    @orthancsmorkaingenjorsbyra6009 2 роки тому

    Skönt att se lite nivå på CAD-undervisningen. Min erfarenhet är att den kan vara lite si och så runtom i landet.

  • @orthancsmorkaingenjorsbyra6009
    @orthancsmorkaingenjorsbyra6009 2 роки тому

    Gött. Vilken kurs kör du den här övningen i? CAD 1?

    • @kalkhasse
      @kalkhasse 2 роки тому

      Tack! Vi kör den i en instroduktionskurs till CAD på JTH.

    • @orthancsmorkaingenjorsbyra6009
      @orthancsmorkaingenjorsbyra6009 2 роки тому

      @@kalkhasse Jaha! Taget, jo, JTH känner jag ju väl till. Lycka till med dina kurser!

  • @OneArmedCrab
    @OneArmedCrab 2 роки тому

    Hi can we add the different cross section as a lib feat document type to analys?

  • @K.Loukas
    @K.Loukas 2 роки тому

    Very helpful thanks 👍🏻.

  • @benjaminp4369
    @benjaminp4369 3 роки тому

    Thank you 😊

  • @satheessaba2227
    @satheessaba2227 4 роки тому

    Good Job Man I Don't understand your Language. But, I learned from you a lot. Thanks a lot, God bless you.

  • @iteequis
    @iteequis 4 роки тому

    me salvaste la materia!! gracias ☺️

  • @aliyazdani7305
    @aliyazdani7305 4 роки тому

    Great explanation