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

Re: [v8i MC] mdlRefFile_beginAttachmentToModel default attachment scale setting

$
0
0

In addition to Jon's code I would use the debugger and this loop to see what the scale is so that I am sure that I am changing the correct values.

Public void CheckRefFileScale (char* unparsedP)

{

  ModelRefIteratorP   mrIterator;

   DgnModelRefP        modelP;

   mdlModelRefIterator_create (&mrIterator,MASTERFILE,MRITERATE_Root|MRITERATE_PrimaryChildRefs,-1);

   while   (NULL!= (modelP=mdlModelRefIterator_getNext (mrIterator)))

       {

           double scale;

           mdlRefFile_getParameters (&scale,REFERENCE_SCALE,modelP);

       }

   mdlModelRefIterator_free (&mrIterator);

}

HTH,


Viewing all articles
Browse latest Browse all 1677

Trending Articles



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