Prev: Selection

Table of Contents

Next: Layer

The Inquiry  are a set of tools used for general and miscellaneous inquiry and information functions.


Toolbar : Inquiry   
      Menu : CADPower Inquiry  Display angle between two lines.
Command line : CP_ANGLE 
This command determines the two angles (acute and obtuse) between two selected lines. The lines can either be Line objects or segments from polylines. The computed angle is displayed on the screen. 

Select first line: (select the first line segment)
Select second line: (select the second line segment)
The two angles between the line segments are 26.54 degs and 153.46 degs



Toolbar : Inquiry   
Menu : CADPower Inquiry  Compute and display bulge in polyline (arc / fitted) segments
Command line :
Polylines that have arc segments in them and those which are curved fitted use bulge value to represent their curvature. These bulge values are stored in the polyline object itself. The CP_BULGE command helps to print out the bulge values at each of the vertex. This can be useful in various debugging situations.

Command: bulge
Select a polyline:
Bulge at vertex 1 is 0.0894 and Radius is 324.302
Bulge at vertex 2 is 0.1412 and Radius is 133.308
Bulge at vertex 3 is 0.0910 and Radius is 262.438
Bulge at vertex 4 is -0.0778 and Radius is 356.879
Bulge at vertex 5 is -0.0477 and Radius is 448.144
Bulge at vertex 6 is -0.0398 and Radius is 642.951

The CP_BULGE command creates POINT objects at each bulge location, in a temporary layer.


Toolbar : Inquiry   
Menu : CADPower Inquiry  Find center of gravity.
Command line : CP_CGRAV 
This command computes center of gravity of masses. The objects that you select should be polyline objects and they should define closed areas. The coordinates of the center of gravity are printed on screen and a point object is created at the CG location.




Toolbar : Inquiry   
Menu : CADPower Inquiry  Drawing Statistics
Command line : CP_DWG_STAT 

Drawing Statistics

CP_DWG_STAT gives detailed statistics of the current drawing. 

CP_DWG_STAT Tutorial




Toolbar : Inquiry   
      Menu : CADPower Inquiry  Compute running distance / perimeter and areas.
Command line : CP_PERIMETR 
This command can be used to compute perimeter and area from picked points or from objects like lines, polylines and circles. The perimeter and area are displayed on the screen as the user picks the points. The enclosing polygon area is displayed at the end of the command.

The last computed perimeter is stored in memory and can be used in subsequent runs of this command.

[CumP = 0.00] Reset/Object <first point>:
[CumP = 0.00] Area/Reset/Object <next point>:
[CumP = 667.93] Area/Reset/Object <next point>:
[CumP = 1269.29] Area/Reset/Object <next point>:
[CumP = 1873.78] Area/Reset/Object <next point>:
[CumP = 2521.90] Area/Reset/Object <next point>:
[CumP = 3260.02] Area/Reset/Object <next point>:
[CumP = 4179.80] Area/Reset/ Object <next point>:



Toolbar : Inquiry   
      Menu : CADPower Inquiry  Calculate summed areas of closed area objects.
Command line : CP_CALCAREA 

The CP_CALCAREA command sums up the areas of all closed polylines, splines and circles. The area report uses the current unit settings as set in the Area Annotation Settings (see below). The area can also be annotated at the centroidal locations in the form of text objects.

Annotation parameters:

Create area annotation: This option enables creation of area annotation text.

Create annotation at each centroid: This option creates each polyline area annotation at its individual centroid position.

Area Annotation parameters:

DWG units: Specify the drawing units here. The options available are in, cm, ft, meters and yards.

Area Units: Specify the units in which the area must be reported. Available options are dwg,,, sq.ft, sq.m, sq.yards, acres and hectares.

Annotation Layer: Specify the layer in which the annotation is to be created.



Toolbar : Inquiry   
Menu : CADPower Inquiry  Visit (Interactive pan) selected objects.
Command line : CP_VISIT 

The CP_VISIT command is an interactive pan through a selection of objects. It allows to visit (by panning each object in the selection to the screen center) all elements of a selection set. This can be a useful tool in quality control and error checking situations when you wish to step through a selection of objects and examine them one by one. The command offers sub-options like Next, Previous and GoTo to navigate through the selection set sequentially or randomly. There are also options to set the current zoom factors and highlight color. The CP_VISIT command maintains an internal pointer to the current object being visited (or borwsed through), so it is possible to resume the browsing at any point even after the main command has been exited. To achieve this purpose, two more related commands, CP_NEXT and CP_PREV are provided to enable an forward and reverse browse through the selection from the current object position. 

Note: CP_NEXT and CP_PREV commands are related only to CP_VISIT command and therefore cannot be used independently


Toolbar : Inquiry   
      Menu : CADPower Inquiry  Quick display of entity elevation
Command line : CP_QUERY 

The CP_QUERY command displays the elevation of the object at the location of the picked point.

Note:  CP_Query command is by default not enabled. To enable it, type CP_Defmacros at the command prompt.


Toolbar : Inquiry   
Menu : CADPower Inquiry  Display horizontal and vertical projected distances.
Command line : CP_DXY 

The CP_DXY command is an extension to the DIST command. In addition to the information given by the DIST command, CP_DXY also displays the horizontal projected distance between the two picked points, in case of 3D points.

Note:  CP_DXY command is by default not enabled. To enable it, type CP_Defmacros at the command prompt.



Toolbar : Inquiry
Menu : CADPower Inquiry  Search entities via handles
Command line : CP_FINDHND
The CP_FINDHND command is an investigation tool. Just enter some handle names and this command will search entities matching those handles and highlight them for you. You can even zoom to the searched handles one by one. Multiple handles can be entered separated by commas and zoomed to one by one.

Prev: Selection

Table of Contents

Next: Layer