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

[CONNECT C++] DisplayRulePtrVector - how to use example needed

$
0
0

I'm working with Display Rules and have come upon a notation that I do not understand and cannot get to compile:


 

DisplayRuleSetCPVector		fileDisplayRules = DisplayRulesManager::GetDisplayRuleSetsInFile(*mdlModelRef_getDgnFile(mdlModelRef_getActive()));
for (DisplayRuleSetCPVector::const_iterator it = fileDisplayRules.begin(); it != fileDisplayRules.end(); ++it)
{
	DisplayRuleSetCP			displayRuleSetCP = *it;
	printf("name=%S\n", displayRuleSetCP->GetName().c_str());
	DisplayRulePtrVector		displayRuleP = displayRuleSetCP->GetDisplayRules();	// <--dont know how to code this
}

 

 

I don't know how to define "displayRuleP" from the DisplayRulesSetCP. 

 

Thanks,

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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