Groups | Search | Server Info | Login | Register
Groups > comp.cad.microstation.programmer > #13
| Newsgroups | comp.cad.microstation.programmer |
|---|---|
| Date | 2013-10-16 03:11 -0700 |
| Message-ID | <8a48fd88-994c-438b-b6fb-04c3229131da@googlegroups.com> (permalink) |
| Subject | help with mdlView_setSubstituteElemFunc function |
| From | Carlos Vaz <cvaz.v2@gmail.com> |
Hi,
I use the function mdlView_setFunction with the UPDATE_EACH_ELEMENT event in microstation v7, as follows:
...
mdlView_setFunction(UPDATE_EACH_ELEMENT,updateUm);
...
/*----------------------------------------------------------------------+
| updateUm
+----------------------------------------------------------------------*/
Private int updateUm
( /* <= Completion status */
MSElementUnion *euP, /* => elemento a desenhar */
int drawmode, /* => NORMALDRAW, ERASE, or HILITE */
void *windowP, /* => pointer to current window */
ExtraElementInfo *extraInfoP, /* => additional information */
int view, /* => view number to draw into */
int *priorityP,
MSElementDescr *edPa,
int allowDefer
)
{
if ( ...)
return (UPDATE_ELM_STATUS_CONTINUE);
return UPDATE_ELM_STATUS_BLOCK;
}
Please someone can indicate me an example (source code) of the function: mdlView_setSubstituteElemFunc, to migrate this code to microstation V8i
Thanks for any help
Carlos
Back to comp.cad.microstation.programmer | Previous | Next | Find similar
help with mdlView_setSubstituteElemFunc function Carlos Vaz <cvaz.v2@gmail.com> - 2013-10-16 03:11 -0700
csiph-web