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

[CONNECT VBA] Sendkeyin

This part of code crashes CE. Is it only for me?Sub place_text() CadInputQueue.SendCommand "place text" CadInputQueue.sendkeyin "sometext" End Sub  

View Article


RE: MicroStation Connect "Item Types" MVBA

Hi Mike,[quote user="Mike Longstreet"]Are MicroStation Connect "Item Types" able to be manipulated using MVBA? [/quote]As Jon wrote, there is no VBA API to access ItemTypes. On the other hand, if there...

View Article


RE: [CONNECT VBA] Sendkeyin

It is an issue regressed in U2 and is in U3. We had found it earlier but fix failed to make it in U3 for valid reasons. As I mentioned above, this has been fixed in WIP builds of U4. As a work around...

View Article

RE: [CONNECT VBA] Sendkeyin

Another issue with CreateTextElement1 that I need to multiply origin with units resolution otherwise it is not correct. But same origin works for cell elements without issue. Is it by design?Set oText...

View Article

RE: [CONNECT VBA] Sendkeyin

I can confirm this issue with text origin - Defect 278262 is filed to address this issue and the plan is to have this fixed with Update 4.

View Article


RE: [CONNECT VBA] Sendkeyin

This approach also almost work, X coordinate is correct but for some reason Text is shifted by Y coordinate.pt.x = p.x * UORs pt.y = p.y * UORs Set oText = CreateTextElement1(Nothing, " Text", pt,...

View Article

RE: [CONNECT VBA] Sendkeyin

This could be caused by the selected setting for text justification. From previous tests justification "Top Left" gave correct results with using UOR, all other settings caused a shift.

View Article

RE: [CONNECT VBA] Sendkeyin

for us the shift is 1000 meters

View Article


RE: VBA SS3 TO CONNECT WILL THEY STILL WORK?

Hi Brian,why big red letters? I guess it's not necessary, all posts have the same attention from this community members ;-)[quote user="Brian MacCartney"]Will those routines migrate to Connect and work...

View Article


RE: VBA SS3 TO CONNECT WILL THEY STILL WORK?

Hi Brian, Review this wiki article communities.bentley.com/.../23674.microstation-connect-edition-frequently-asked-questions Regards Maria

View Article

VBA SS3 TO CONNECT WILL THEY STILL WORK?

I have a number of MVBA routines that are very intregal to the production of drawing files in my shop. Will those routines migrate to Connect and work as they do now in SS3?I am using build...

View Article

RE: [CONNECT DgnPlatformNet] How do I spell IViewManager::UpdateView in C#?

[quote user="Robert Hook"]I believe you may be able to achieve an update for the desired view doing something like the pseudo-code below[/quote]Thanks for the hint!  It set me on a path of exploration...

View Article

RE: [CONNECT][C++] mdlWindow_rgbDataDraw problem with .jpg

[quote user="Loren"]mdlWindow_rgbDataDraw((MSWindow*)(dmP->db), &rect, 0, obliqueSource, DITHERMODE_ErrorDiffusion,    TRUECOLOR_Seperate, NULL);[/quote]How do you calculate the BSIRect rect?  I...

View Article


Image may be NSFW.
Clik here to view.

RE: [CONNECT][C++] mdlWindow_rgbDataDraw problem with .jpg

Hi Jon,I am using 0 for pitch (pitch is the third parameter, rect is the second and specifies what portion of the window to draw to). My rect is the image size scaled (proportionate) to fit in the...

View Article

Image may be NSFW.
Clik here to view.

RE: [CONNECT][C++] mdlWindow_rgbDataDraw problem with .jpg

[SOLVED!]Thanks Jon for (inadvertently)pointing me toward the rect! Seems that my calculations were off by one pixel too large. I subtracted 1 from rect.corner.x and rect.corner.y and the image...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT][C++] mdlWindow_rgbDataDraw problem with .jpg

I am attempting to display a jpg file in a MicroStation dialog using the following code:mdlImage_readFileToRGB(&obliqueSource, &obliqueSourceSize, ObliqueDisplayS[curSourceOblique],...

View Article

RE: [CONNECT DgnPlatformNet] No way to remove elements from an ElementAgenda

Could you provide a brief use case workflow to help us better understand how pre or post filtering (detection) could not be used when iterating the element agenda?  The only way I see at this point w/o...

View Article


[CONNECT DgnPlatformNet] No way to remove elements from an ElementAgenda

We can use ElementAgenda.Insert to add Elements to an agenda.  However, there's no way to remove an Element from that agenda.There's ElementAgenda.DropInvalidEntries, but no way to mark an Element as...

View Article

[CONNECT DgnPlatformNet] Windows Form Z-order

I have an AddIn whose UI is a .NET Windows Form.  The form's default behaviour is to sink below MicroStation's main window when the user clicks in any MicroStation window or dialog.  If I call...

View Article

RE: [CONNECT DgnPlatformNet] No way to remove elements from an ElementAgenda

[quote user="Robert Hook"]Call your Element.Invalidate(), then when finished call ElementAgenda.DropInvalidEntries()[/quote]I've paraphrased your suggestion, which led me to the path of enlightenment!...

View Article
Browsing all 7260 articles
Browse latest View live


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