Carlos Vaz
unread,Oct 16, 2013, 6:11:34 AM10/16/13You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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