News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

Main Menu

Debug List View -- C# tool shows details of selected graphics

Started by CaraVani0, June 19, 2010, 03:31:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CaraVani0

Here is a menu/tool plug-in. Visual Studio 2008, C#.
Works on a selection. Select graphical object(s) and activate the tool or the menu command - [Debug]/[Debug List View].

It will show detailed info about all objects. The Graphics tab pane is not made to work since the Tree View does the same thing.

Double-click on a graphical object in the hierarchy to load the information about it in the tab panes.




kchapman

Very nice, CaraVani0!

I like the tabbed layout; it seems very well-organized. Also it was nice touch that you indicated the RefPoint in both Global and Local coordinates.

For my own preference, I would perhaps change two things:
1) Separate the different values in the left-hand pane nodes with CRLF instead of a vertical slash. (Can you even do that with a tree node? Not sure...)
2) Increase the numeric precision on the floating point data for points, nodes, etc. to at least 4 digits, maybe even 6. Often 3 digits past the decimal just isn't enough.

CaraVani0

I have found several problems which I would be very happy to find a solution of:
1) What are the Nodes and Attributes used for?
2) The tool is disabled when rendering is turned on - different from wireframe. Why is that?


kchapman

Nodes are vertices that can be edited using Edit tool. If you don't add any vertices to the Nodes group when you create your object, the user can't directly edit the vertices.

Attributes are used for Block objects.

All SDK-based tools are disabled when rendering is turned on. I don't know why -- something to do with the internal workings of the code.