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

[CONNECT C++] Add Formatting to a Report Column

The SDK example Annotations\ReportsExample shows how to create a report definition programmatically: create a set of ColumnDefinitionNodes...ColumnDefinitionNodePtr columnNode =...

View Article


RE: [CONNECT C++] How do I stop an EC area formatter appending a unit decorator?

Set ShowLabel property to false, then put whatever suffix you want into Suffix property. Your code above does not specify the type of your 'decorator' variable, but that property is an int enum...

View Article


RE: [CONNECT C++] EC Schema volume decorator

<ECClass typeName="Vol" isDomainClass="True">

View Article

RE: [CONNECT C++] EC Schema volume decorator

You missed the "Vol" class.

View Article

RE: [CONNECT C++] TextBlock::FindTextW and TextBlock::ReplaceTextW

OK - I just stopped using "precompiled headers" and things went a little further. Now I get a message about DLLMain already defined in MSVCRT. 1>mfcs120u.lib(dllmodul.obj) : error LNK2005: DllMain...

View Article


RE: [CONNECT C++] TextBlock::FindTextW and TextBlock::ReplaceTextW

Well, found an answer that involved adding the two referenced .lib files to the "Additional Dependencies" of the Linker section. Still don't understand why only those two functions caused the "function...

View Article

RE: [CONNECT C++] EC Schema volume decorator

[quote user="Paul Connelly"]You missed the "Vol" class[/quote]Ha!  I'm used to seeing all names in full, so that abbreviation threw me 8-(

View Article

[CONNECT C++] EC Schema volume decorator

The Mstn Property Format schema provides data used to format area quantities (e.g. 27.23 Acres).  However, I can't find any similar schema data that would be used to format volumes (e.g. 43.138 Cu. m...

View Article


RE: [CONNECT C++] TextBlock::FindTextW and TextBlock::ReplaceTextW

Bruce,LNKxxxx errors are often (though not always) the result of missing libraries or public exports using a correct calling convention.  Although you use and call functions defined in Header files...

View Article


RE: [CONNECT C++] How do I stop an EC area formatter appending a unit decorator?

[quote user="Paul Connelly"]Set ShowLabel property to false, then put whatever suffix you want into Suffix property[/quote]Those are properties of what class?  I can't find them in help or any header...

View Article

RE: [CONNECT C++] How do I stop an EC area formatter appending a unit decorator?

MstnPropertyFormatter schema.<ECClass typeName="AreaClass" isDomainClass="True"><!--...snip...--><ECProperty propertyName="SX" typeName="string" displayLabel="Suffix">

View Article

RE: [CONNECT C++] TextBlock::FindTextW and TextBlock::ReplaceTextW

[quote user="Bruce Reeves SRNS"]What am I doing "wrong" such that the linker can't find the functions, which are clearly there?[/quote]Keep in mind that bmake and Viz Studio are front-ends.  They use...

View Article

RE: Get Coordinate

ShowCursorPos works but it makes zooming by mouse wheel unresponsiveOnly adding sleep function I am able to make it more responsive. Is there a better way?#If VBA7 Then Private Declare PtrSafe Sub...

View Article


RE: Get Coordinate

Hi Oto, you returned to quite old discussion. It would be helpful to mention what MicroStation version do you use (V8i, CE?) and also what do you want to achieve. VBA is a synonymum for slowness and...

View Article

RE: [CONNECT C++] TextBlock::FindTextW and TextBlock::ReplaceTextW

What is "unclear" to me is that I have each .lib listed in the .mke file as a linker "Dependency".  It's only when I additionally listed "mfcs120u.lib" and "msvcrt.lib" as Dependencies did the code...

View Article


[CONNECT C++] TextBlock::FindTextW and TextBlock::ReplaceTextW

I want a tool similar to the CONNECT example "incrementTextTool". When I use the provided BMAKE to generate the .ma/.dll, all is fine. However, my typical mode is to build the .dll from inside VS2013....

View Article

RE: Get Coordinate

[quote user="Oto"]Only adding sleep function I am able to make it more responsive. Is there a better way?[/quote]How about VBA's DoEvents method?

View Article


Get Coordinate

Hi EverybodyI am gonig to start a Mvba Program and i need to get the coordinate(X,Y,Z) when i am moving mouse without sending any data point. if i can find any function in microstation vba?

View Article

RE: [V8i VBA] Detecting if coordinate is above or below target element

Just getting back to this, hectic week so far[quote user="Jon Summers"]However, if the thought of vector algebra and computational geometry seems too daunting, then it's time to hire a...

View Article

RE: [V8i VBA] Detecting if coordinate is above or below target element

[quote user="Barry Lothian"]I originally thought you were suggesting construct 1 vector from the coordinate to the perpendicular intersection with the chainage element[/quote]That's one vector.  The...

View Article
Browsing all 7260 articles
Browse latest View live


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