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

RE: Connect C++ Iterating TextStyles

[quote user="Jesper Stahl Madsen"]The iter++ statement won't compilefor (; iter!=end; iter++);[/quote]What is the compiler error message?

View Article


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

Please follow the MicroStation Programming forum best practices.Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation...

View Article


Image may be NSFW.
Clik here to view.

RE: Adding a solid to an ElementDescriptor

Hi JonThank you for your help, unfortunately it didn't solve the problem. Obviously the torus is now 1000 times bigger, but as you can see, it still doesn't render properly.My guess is that I'm doing...

View Article

RE: Connect C++ Iterating TextStyles

[quote user="Jesper Stahl Madsen"]for (; iter!=end; iter++); { DgnTextStyleP tsP = (*iter); WString sName = tsP->GetName(); }[/quote]Even if it did compile, it will not do what you expect at...

View Article

Connect C++ Iterating TextStyles

Hi!How do I iterate  the TextStyles defined in a designfile using the  C++ Connect API?I have tried the following, but the iter++ statement won't compile:DgnFileP dgnObjP =...

View Article


RE: Adding a solid to an ElementDescriptor

[quote user="Jorgen Brix"]Tool_elementCreateTorus( &torus, 0.045, 0.010, 180 );[/quote]I should also have mentioned that angles are measured in radians, not degrees.  180 radians is several...

View Article

RE: MicroStation Exit VBA

thank you

View Article

MicroStation Exit VBA

Dear All,Is it any VBA or Macro is available to run to exit MicroStation, to control the usage while no activity.My Version of Microstation is 08.11.09.742 SELECT Series 3Regards, Chithra

View Article


RE: Adding a solid to an ElementDescriptor

Yes, I know that usually radians are used. It just isn't the case for mdlKISolid_makeTorus(...) which for some unknown reason uses degrees.From the documentation:double angleINinput torus sweep angle...

View Article


RE: [V8i C++] mdlSystem_expandCfgVar() usage

[quote user="Bruce Reeves SRNS"]sprintf_s( keyinToSend, sizeof(keyinToSend),"MyApp MyTask", mdlSystem_expandCfgVar(fileToFind) );[/quote]mdlSystem_expandCfgVar has allocated memory to store a string....

View Article

RE: Adding a solid to an ElementDescriptor

[quote user="Jorgen Brix"]mdlKISolid_makeTorus(...) for some reason uses degrees[/quote]?!

View Article

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

Nothing obvious jumps out at me, what happens if you immediately call mdlPattern_extractAssociative after calling mdlPattern_addAssociative? Do you get the correct PatternParams? Are there any...

View Article

RE: [V8i C++] mdlSystem_expandCfgVar() usage

As I suspected.....

View Article


[V8i C++] mdlSystem_expandCfgVar() usage

The documentation says that when mdlSystem_expandCfgVar() is used, you must free the resultant string by using mdlSystem_freeCfgVarBuffer(). Would that still apply when used in this manner?char...

View Article

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

I am facing exactly the same problem, with code almost identical as above. Only thing I can add is that as far as i can remember this problem also occured in ss2. I never tried to solve the issue...

View Article


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

[quote user="EvanH"]mdlPattern_addAssociative(edPP, 0, 0, &patPar, NULL, NULL, PATTERN_HATCH, mdlModelRef_getActive());[/quote]Does it make any difference if you pass -1 for line1 and...

View Article

RE: [C++ CONNECT] How to use DgnRasterCollection?

[quote user="Frode Tørresdal"]I write DgnRasterCollection:: the GetRasters Method is not shown[/quote]Do you mean that Viz Studio IntelliSense doesn't show the methods of that class?Presumably you've...

View Article


RE: [C++ CONNECT] How to use DgnRasterCollection?

Hi Frode,can you try this?Raster::DgnRasterCollection::GetRasters(modelRefP);It's just a guess based on playing with Visual Studio, not compilation.With regards,  Jan

View Article

[C++ CONNECT] How to use DgnRasterCollection?

How do I use DgnRasterCollection? I cannot find any examples and the documentation is very limited.There is a small code snip where it is used like this: DgnRasterCollection::GetRasters(modelRefP). But...

View Article

[CONNECT C++] debug local variable not defined

Hi, I have to say sorry first. I know this type question should be asked here. But I did a lot of research over internet. I did not find solution.I tried to debug my project. The local variables (int...

View Article
Browsing all 7260 articles
Browse latest View live


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