Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: [2004 MDL] Help me to get total number of end and start points.

$
0
0

A DGN File is a Container

sagar:
I want to get the total count/number of ... in the dgn file

A DGN file is a container.  It contains one or more models.  The only thing you can count in a DGN file is the number of models.

Linear Elements have End Points

sagar:
I want to get the total count/number of the end and start point available in the dgn model

Each line has a start and end point: two points per line.  To count the number of points therefore count the number of lines in a model.

The MicroStation programmer's idiom for finding things in a model is the scanner.  Here are the APIs for some MicroStation development languages...

  • VBA: use ModelReference.Scan
  • MDL: use mdlScanCriteria_api
  • MicroStationAPI: use DgnElmListIterator (MicroStation XM and later)

Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>