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

RE: [CONNECT C++] crash

Hi, WString is derived from "bwstring". "bwstringis" defined as: typedef Bstdcxx::basic_string <wchar_t, std::char_traits<wchar_t>, BentleyAllocator<wchar_t> > bwstring; I thought...

View Article


RE: [CONNECT C++] crash

Look what the C++ Standard Library does.std::string is a typedef of std::basic_string.  One of its template parameters is char.std::wstring is a typedef of std::basic_string.  One of its template...

View Article


[CONNECT C++] crash

Hi, I got a crash on following code:-----------------------------------    wchar_t cfgVarValue[10 * MAXFILELENGTH + 1];    mdlSystem_getCfgVar((WStringP)cfgVarValue,...

View Article

RE: CONNECT C# Use the ScanCriteria.Scan()

Hi Jon,thanks for your answer and sorry for not following the best practices of this forum. My last activities were in 2014 ;).Yesterday evening I was frustrated about the fact that nothing was working...

View Article

RE: Connect C# Set properties of TagElements

Hi Jon, hi Jan, thanks for your answers. As I explain in the other thread, our AddIn is for the manipulation of special cells with TagSets and Tags. So in the version of V8i we use CellHeaderElements,...

View Article


RE: CONNECT C# Use the ScanCriteria.Scan()

*Edited* Nevermind, I see that your last post mentions that you have found the solution.For anyone looking at the post in the future, the line missing to get your above code to work is the...

View Article

Image may be NSFW.
Clik here to view.

RE: CONNECT C# Use the ScanCriteria.Scan()

[quote user="Boortsneggor"]For that I´ve written two special Extension-Methods for the ScanCriteria-Class[/quote]Excellent approach!  This is the first time I've seen someone use extension methods for...

View Article

CONNECT C# Use the ScanCriteria.Scan()

Hello,I currently try along with the ScanCriteria.Scan(ScanDelegate)-Method of the Connect Edition SDK. I create a ScanCriteria-Instance, set the ModelRef and give the Scan-Methode a Methode of the...

View Article


RE: Connect C# Set properties of TagElements

[quote user="Boortsneggor"]Did I understand it correct, that this datamodel changed in CONNECT Edition and that instead of TagElements you should use ItemTypes?[/quote]For MicroStation CONNECT, Bentley...

View Article


Connect C# Set properties of TagElements

Hello,I try to set the color of a TagElement (it is a TextElement) but unfortunately in the new SDK I can´t find any methods or properties like this on the TagElement. I hope that someone can give me a...

View Article

RE: Adding a solid to an ElementDescriptor

Ahh - I'm sorry. I've updated my post to include the MicroStation version number, V8i SS3 v08.11.09.459. Thanks Jorgen

View Article

RE: [V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)

Can you show where edPP comes from? -B

View Article

RE: [V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)

edPP is just a parameter (MSElementDescr **edPP) to the function the code snippet is taken from and points to a shape or complex shape. This shape is either selected by the user or found by scanning....

View Article


RE: [V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)

I know what edPP is, I'm trying to see exactly what you are doing with it (because the issue almost certainly lies somewhere in your code not mdlPattern_addAssociative, even if you somehow got away...

View Article

[V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)

Hi allWe've found a bug in mdlPattern_addAssociative (and in mdlPattern_addAssociative2 as well). If you use code like this:PatternParams patPar; memset(&patPar, 0, sizeof(patPar));...

View Article


RE: Adding a solid to an ElementDescriptor

[quote user="Jorgen Brix"]Tool_elementCreateTorus( &torus, 0.045, 0.010, 180 );[/quote]MDL usually uses UORs, not master units, to specify dimensions.  You're creating a very small torus.  Try...

View Article

Image may be NSFW.
Clik here to view.

Adding a solid to an ElementDescriptor

HiI'm using MicroStation V8i (Select series 3) v08.11.09.459 and programming language MDL.I'm having trouble adding a Solid (a torus in this example) to an element descriptor. I'm using the code below...

View Article


RE: How to draw a text along curve using MDL?

[quote user="12EF584C-5BB8-47B1-9B35-4B3C5A4BAFAF"]Is there any function in MDL sdk ...[/quote]Please post questions about MDL to the MicroStation Programming Forum.

View Article

How to draw a text along curve using MDL?

Is the any function in MDL sdk to draw text along element i.e. arc ?

View Article

RE: Connect C# Set properties of TagElements

I have not tried this on tag elements, but on line elements I was able to set the color by using the ElementPropertiesSetter. ElementPropertiesSetter eps = new ElementPropertiesSetter();...

View Article
Browsing all 7260 articles
Browse latest View live


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