OLE automation for a inexperienced beginner

Started by Hull20, September 09, 2008, 07:14:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hull20

Hallo!

Before, a practical question. In a grid componing a shell, is it possible:

to number every grid componing the figure

for each grid, extract by OLE Automation (and write in a random file) the coordinates of vertexes?

Now a general question. To begin to use, in Design CAD, OLE Automation by Visual Basic,what is the convenient way for an inexperienced beginner?
Is there same course or other? All suggestions are accepted.

Thank's to all!

Hull20

DrollTroll

Hello, Hull20.

The best place to start is with the existing SDK documentation and samples. See this post for links:

http://forum.designcad.com/index.php?topic=1537.0

Note that the primary SDK docs are several versions out of date, but most of the information in them is still relevant. I recommend working through the examples in the Developer's Guidebook. Just remember, whenever the sample code refers to a specific version of DesignCAD (such as "DesignCAD.Application.13") to change the version number to the one you are using (such as "DesignCAD.Application.18", for example). And change any type library references to the one for your version.

I'm not sure what you mean by numbering the grids. Every object has a unique identifier associated with it -- this includes grids, planes, lines, circles, and other primitives.

Yes, you can extract full grid vertex information from each grid, on a line-by-line basis.
25 years with DesignCAD