Groups | Search | Server Info | Login | Register
Groups > comp.cad.microstation.programmer > #13
| X-Received | by 10.236.6.134 with SMTP id 6mr1727922yhn.7.1381918294278; Wed, 16 Oct 2013 03:11:34 -0700 (PDT) |
|---|---|
| X-Received | by 10.49.48.38 with SMTP id i6mr53282qen.4.1381918294256; Wed, 16 Oct 2013 03:11:34 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!o2no7804653qas.0!news-out.google.com!9ni46435qaf.0!nntp.google.com!o2no7804638qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.cad.microstation.programmer |
| Date | Wed, 16 Oct 2013 03:11:34 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=95.93.233.252; posting-account=m2VUEQoAAADjtxUG0J_RSvodXdJX4DDS |
| NNTP-Posting-Host | 95.93.233.252 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <8a48fd88-994c-438b-b6fb-04c3229131da@googlegroups.com> (permalink) |
| Subject | help with mdlView_setSubstituteElemFunc function |
| From | Carlos Vaz <cvaz.v2@gmail.com> |
| Injection-Date | Wed, 16 Oct 2013 10:11:34 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.cad.microstation.programmer:13 |
Show key headers only | View raw
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