RSS

Category Archives: CAX

CAD,CAM,CAE…

Rhino C# Development (III) : Add Winform UI to Rhino


Rhino C# Development (I) : Get Visual Studio Wizard ready
Rhino C# Development (II) : HelloRhino


Now that we are able to talk with Rhino, let’s add our own UI to Rhino. In Rhino 5 with RhinoCommon SDK and Rhino_DotNet, you can easily add .net Winform User Control to Rhino.

image

Read the rest of this entry »

Advertisements
 
4 Comments

Posted by on May 9, 2013 in CAD, Dotnet/C#, Programming

 

Tags: , , , , , , ,

Rhino C# Development (II) : HelloRhino


If you have not got Rhino Visual Studio working, see this post to get it done.

1. In Visual Studio, create a new project, in the opened dialog, type “rhino” in the upper right filter field:

image

Read the rest of this entry »

 
2 Comments

Posted by on May 9, 2013 in CAD, Dotnet/C#, Programming

 

Tags: , , , , , , , , ,

Rhino C# Development (I) : Get Visual Studio Wizard ready


1. Go to http://www.rhino3d.com/new/dev to download the SDK. Unzip the file, and you will see 4 files:

image

Read the rest of this entry »

 
3 Comments

Posted by on May 9, 2013 in CAD, CAX, Dotnet/C#, Programming

 

Tags: , , , ,

Dissecting Solidworks Property Manager Tree Hierarchies with Spy++


Using Spy++, one can easily find the correspondence of the SolidWorks Property Manager Tree’s hierarchies:

image

image

The first button, with caption “ ” is the expand button, and the five tabs correspond to the subsequent 5 windows. The only visible tab is the active tab.

Note the 2nd tab is PropertyManager page and its caption is “uiVisualSketchEditorView_c”. With these dissection, one can then perform some interesting tasks in code.

 
Leave a comment

Posted by on April 1, 2013 in CAD, Programming

 

Create Solidworks addin in Visual Studio 2012


Up to now, Solidworks had released its 2013 sp2.0 version, and its API is updated to v21.2.0.50, but once you installed the API, you will not see the addin wizard appear in Visual Studio 2012.

One tricky way to trouble shoot this is:

  • Create a SolidWorks addin project in Visual Studio 2010
  • Open it the project in VS2012.

    image  image

Done!

 
Leave a comment

Posted by on March 31, 2013 in CAD, Dotnet/C#

 

Install AutoCAD 2011 for Mac OS X on Vmware


Download AutoCAD 2011 for Mac at AutoDesk download center

Open Mac OS in Vmware

The most difficult part is how to transfer the downloaded dmg file in Windows to Mac: I used google storage and uploaded the dmg, and then download it in Mac OS.

AutoCAD_MAC_A0

Install AutoCAD is then easy.

AutoCAD_MAC_A

Read the rest of this entry »

 
Leave a comment

Posted by on December 13, 2010 in CAD

 

Message: Unable to load DLL ‘libpart’: The specified procedure could not be found; Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.


In a recent project, I was required to develop a .Net assembly DLL and use it together with COMSOL with Matlab, where Matlab serves as the hub, and the .Net Assembly provides some services, Matlab consumes it, and COMSOL finally perform FEA and output the result:

MatlabNXComsol_B

Read the rest of this entry »

 
2 Comments

Posted by on November 15, 2010 in CAE, Dotnet/C#