RE: [CONNECT C++] debug local variable not defined
Hi Zhen,I am not quite sure if I understand your situation correctly. I agree, because you choose to don't use bmake but Visual Studio nmake, such question should be posted to StackOverflow or similar...
View ArticleRE: [V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)
I've now modified the setSymb function to test the suggestion from Jon and the extracted parameters:rc = mdlPattern_addAssociative(edPP, -1, -1, &patPar, NULL, NULL, PATTERN_HATCH,...
View ArticleRE: problem with matrix3d rotation
Hi Werner,please, respect this forum Best Practices:Use the subject proper formating, in your case it should be something like [V8i SS3 VBA] Problem with matrix3dAlways (no exceptions) use Syntax...
View ArticleRE: [C++ CONNECT] How to use DgnRasterCollection?
Thank you Jon and Jan for your suggestion. Strange thing is that when I compiled again today it worked just fine. Not sure what was wrong, but it's working now. I still would like an example showing...
View Article[Connect VBA] Problem with rotation matrix3d
Hello,I wrote in "Microsstation V8i SS3" the VBA code below.Now i'm trying to use this VBA code in "Microstation Connect" but, when running the vba, the origin of the textelement is not right.The text...
View ArticleRE: problem with matrix3d rotation
[quote user="Werner Vinck"]Dim Axis As Point3d Axis.X = 0 Axis.Y = 0 Axis.Z = 1[/quote]Dim Axis As Point3d Axis = Point3dFromXYZ (0, 0, 1)Is that clearer?[quote user="Werner...
View ArticleRE: [C++ CONNECT] How to use DgnRasterCollection?
[quote user="Frode Tørresdal"]Not sure what was wrong[/quote]From your description it's clear that wrong was the day :-)Good to know it is working now. I agree it would be nice to have some raster...
View ArticleRE: [V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)
It looks like there were changes made to address an issue with patterns created in the Connect with annotation scale, this must have broke something; I'll ask the person that made those changes to...
View ArticleRE: problem with matrix3d rotation
Hi, I have opened a new question for this problem on the requested settings such as Jan asked. Is there a way to remove this post, or remove any of you this item? regards, Werner
View ArticleRE: problem with matrix3d rotation
[quote user="Werner Vinck"]Is there a way to remove this post?[/quote]Once a post has replies, one cannot remove it.[quote user="Werner Vinck"]Can any of you remove this item?[/quote]Neither Jan nor I...
View Articleproblem with matrix3d rotation
Hello,I wrote in "Microsstation V8i SS3" the following VBA code:Option ExplicitImplements IPrimitiveCommandEventsPrivate nPunten As LongPrivate hoek As DoublePrivate Afst...
View ArticleRE: Connect C# Set properties of TagElements
Hi Frode, thanks for your reply. I tried your solution and there was no exception. But also there are no changes in the drawing. In the old API of MicroStation V8i i have to call the method "Rewrite"...
View ArticleRE: [CONNECT C# Addin] LevelHandle.Name throws Access Violation
Artur, sorry I didn't reply earlier, for some reason I don't receive notification that activity happened on my topics. The problem is really that I can't catch when there is a problem, it does work...
View Article[CONNECT C# Addin] LevelHandle.Name throws Access Violation
I'm using the following code to determine the level name of an element. The code is encountering a System.AccessViolationException when I use the LevelHandle.Name to retrieve the level name. Works fine...
View ArticleRE: [CONNECT C# Addin] LevelHandle.Name throws Access Violation
Hi Mike, can you share some example (dgn file) that leads to code exception? In ideal case, is it possible to also check element id? Regards, Jan
View ArticleRE: [V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)
Hi EvanH,I copied your code as-is and was able to place hatches successfully.SHOW PATTERN reports correctly “Hatching: PA=45.0000,0.0000, PD=2.0000,0.0000”.The only side issue I noticed was the call to...
View ArticleRE: Reading coordinates - vba
Hi Vinoth, Please post VBA threads in the MicroStation Programming forums in order to get a prompt response communities.bentley.com/.../343173 Regards Maria
View ArticleRE: Reading coordinates - vba
Thanks Maria. Is there any option for move this question to Programming forums ?
View ArticleRE: Reading coordinates - vba
Hi Vinoth, how coordinates are stored and how they are displayed are two different things. VBA API (in fact all MicroStation APIs regardless of language) works with master units (double). If the...
View ArticleRE: Reading coordinates - vba
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