How to set a microstation variable?

Status
Not open for further replies.

Crigui

Usenet Archive
Joined
Sep 28, 2001
Messages
39
Reaction score
0
Hi,

We are trying to set a microstation variable using the mdlSystem_defineCfgVar function, but there is a problem on it... :
when i finish the microstation, the variables don't continue setted in the variables configuration.

So, we are looking for something that could set the variables and, when we finish microstation, keep them there, setted in the variables configuration.

Thanks anyway...

Crigui.
 
I have replied at:
bentley.microstation.programming where I saw it first.

here it is again:

char *varUsrP = mdlSystem_getExpandedCfgVar ( "_USTN_USERCFG" );

mdlSystem_defineCfgVar ( "MS_WHATEVER", "1", CFGVAR_LEVEL_USER );

mdlSystem_rewriteCfgVarFile ( varUsrP, "MS_WHATEVER", "1" );

/Chris Z.

"Crigui" wrote:
Hi,

We are trying to set a microstation variable using the mdlSystem_defineCfgVar function, but there is a problem on it... :
when i finish the microstation, the variables don't continue setted in the variables configuration.

So, we are looking for something that could set the variables and, when we finish microstation, keep them there, setted in the variables configuration.

...
 
Status
Not open for further replies.

Latest threads

Back
Top