- 25
- 96 969
Carl-Johan Jonsson
เข้าร่วมเมื่อ 19 ส.ค. 2006
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
th-cam.com/video/BoeCU3dMb88/w-d-xo.html
Thanks to Blue Byte Systems, Inc. for the video on the SolidWorks Singleton code!
www.youtube.com/@BlueByteSystemsInc
th-cam.com/video/BoeCU3dMb88/w-d-xo.html
มุมมอง: 3 965
วีดีโอ
Assigning material properties in SolidWorks Simulation
มุมมอง 4.3K5 ปีที่แล้ว
Assigning material properties in SolidWorks Simulation
This was extremely useful, thank you very much!
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.
Superb thank u😊
very pedagogical! thanks!
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
Extract the edges of the cube.
Sir how we can make code for automation of FEA analysis in SOLIDWORKS??? Plz help i have a project on that.
That can be done very easily with a VBA macro.
Carl you're the man, great video great explanation
Cannot convert solid bodies back into beams. Why is this happening?
It was the same for me, I just deleted the solid parts, and then did a new sketch in the "solidparts" and applied structural member, try Trim/extend to have the desire shape. So that you can check once more in the simulation settings to see if that parts have changed. I hope it works!
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.
Thanks for the feedback! I will keep that in mind in the future.
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.
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
very good
Thanx
THNKS
plese make more videos,thks
Skönt att se lite nivå på CAD-undervisningen. Min erfarenhet är att den kan vara lite si och så runtom i landet.
Gött. Vilken kurs kör du den här övningen i? CAD 1?
Tack! Vi kör den i en instroduktionskurs till CAD på JTH.
@@kalkhasse Jaha! Taget, jo, JTH känner jag ju väl till. Lycka till med dina kurser!
Hi can we add the different cross section as a lib feat document type to analys?
Very helpful thanks 👍🏻.
Thank you 😊
Good Job Man I Don't understand your Language. But, I learned from you a lot. Thanks a lot, God bless you.
me salvaste la materia!! gracias ☺️
Great explanation