Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

RE: [CONNECT C++] "STATE_RESET" definition

mdlState_setFunction has been replaced with strongly typed individual set functions for each event. Look at StateCallback::SetResetFunction in msstate.fdf. HTH -B

View Article


[CONNECT C++] "STATE_RESET" definition

HI,I can not find "STATE_RESET" definition. Could you please help me?Best,

View Article


RE: [CONNECT C++] mdlSystem_setFunction

System User Functions[quote user="Zhen Li"]mdlSystem_setFunction(SYSTEM_NEW_DESIGN_FILE, NewDesignFile);[/quote]The generic mdlSystem_setFunction is replaced with specific SetXxxFunction methods.  See...

View Article

[CONNECT C++] mdlSystem_setFunction

Hi, Please forgive me not spending much time to learn the CONNECT SDK. I really can not find the following functions:    mdlClipboard_setFunction(CLIPBOARD_SET_PASTE, sc_ClipboardDataFormats);...

View Article

[connect c++] where to find ConsHdr

HelloMdlApi\mscons.h(380) : error C2504: 'ConsHdr' : base class undefinedI miss this baseclass! Where can I find it?Thanks and kind regardsSigi

View Article


RE: Weird tag behaviour when editing shape elements ...

[quote user="Brien Bastings"]The tag position is based on an origin association plus an offset[/quote]The public mdlTag_api creates a tag at an offset from the host element origin.  It doesn't provide...

View Article

RE: [Connect U1, MDL/C++] mdlElmdscr_createShapeWithHoles() returns error

[quote user="Brien Bastings"]The Connect version of mdlElmdscr_createShapeWithHoles validates the inputs to ensure that a valid grouped hole would be created[/quote]Does it also check for co-planarity?...

View Article

RE: [Connect U1, MDL/C++] mdlElmdscr_createShapeWithHoles() returns error

[quote user="Jon Summers"]Does it also check for co-planarity?[/quote]It does not as it caused too many regressions. This check is only done at the tool level by the DgnRegionElementTool base class.-B

View Article


RE: Weird tag behaviour when editing shape elements ...

[quote user="Jon Summers"]The public mdlTag_api creates a tag at an offset from the host element origin.  It doesn't provide an option to specify an association.  If I were to use...

View Article


RE: Weird tag behaviour when editing shape elements ...

[quote user="Brien Bastings"]I don't understand your question Jon...[/quote]When I create a tag element (mdlTag_create), the API lets me associate it with a host element via its Element ID.  There's no...

View Article

RE: Weird tag behaviour when editing shape elements ...

[quote user="Jon Summers"]Each has its 'origin' at a different corner.  The tags behave as you describe.  What created those 'origins'?[/quote]That's just how I drew the shapes, the red dot is located...

View Article

RE: Weird tag behaviour when editing shape elements ...

[quote user="Brien Bastings"]mdlAssoc_createOrigin will be called with the ElementId of the base element[/quote]Aha!  Does that happen somewhere inside mdlTag_create?  Presumably, if the host already...

View Article

RE: Weird tag behaviour when editing shape elements ...

[quote user="Jon Summers"]Aha!  Does that happen somewhere inside mdlTag_create?[/quote]Yes.[quote user="Jon Summers"]Presumably, if the host already has an origin assoc. point,[/quote]This statement...

View Article


RE: [CONNECT C++] mdlText_getFontName

Many of the mdlText_ functions have been deprecated, maybe your answer lies within the DgnFontManager and DgnFontNumMap APIsEx:WString fontName =...

View Article

RE: [CONNECT C++] mdlText_getFontName

Also, you can find the struct definition for MSValueDescr at C:\Program Files\Bentley\MicroStationCONNECTSDK\include\Mstn\MdlApi\msvaluedescr.h

View Article


RE: [CONNECT C++] mdlText_getFontName

The text API in CONNECT is very different from its predecessors.  Take a look at ITextQuery and TextBlock in MicroStationAPI help.  There are some examples delivered in the \SDK\examples folder,...

View Article

RE: [V8i C# Addin] Bentley Product Passwords for Addins

So, I have tried emailing the BDN@Bentley.com and get a bounce back, I have gone to the BDN website and used the Contact Us form and get no response.. And still not response from the service tickets....

View Article


RE: [CONNECT C++] mdlText_getFontName

[quote user="Zhen Li"]What is "MSValueDescrR" definition?[/quote]New question: new post!  That has nothing to do with font names.

View Article

[CONNECT C++] mdlText_getFontName

Hi,I can not find the "mdlText_getFontName". Where is it defined?    //MSCORE_EXPORT StatusInt mdlDialog_itemGetValue    //    (    //    MSValueDescrR   itemValue,      /* <= place to put the...

View Article

RE: [V8i C# Addin] Bentley Product Passwords for Addins

[quote user="Maury"]I have tried emailing the BDN@Bentley.com and get a bounce back[/quote]Well, that's not too good...[quote user="Maury"]I have gone to the BDN website and used the Contact Us form...

View Article
Browsing all 7260 articles
Browse latest View live


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