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

Image may be NSFW.
Clik here to view.

[V8i MDL] Get start angle of torus

I'm using mdlSurface_extractRevolution2() to analyse a torus.  That's fine, but there's a missing piece of information: the start angle of a partial torus.  The function tells me the sweep angle, but...

View Article


re: CONNECT SDK & Windows 10

Has any body, had any success in comping any of the CONNECT SDK examples (BasicDialogBox) inside a Windows 10 environment?Or is it just me.  Within Windows 7, works just fine.

View Article


[CONNECT C++] empty TextBlock

Hi, I tried to create a text element. I got a return value which says"it did not have the force text node flag".Which command can be used to set "text node flag"?ThanksTextBlockToElementResult...

View Article

C# example delivered with the latest MSTN Connect SDK

I built 2 c# samples delivered with the latest MSTN Connect SDK: WPFSample & Bentley.DgnIModelNETExample, I got the dlls also the addin loader ma files (under...

View Article

[CONNECT C++] Element Handlers

Hi all,First of all, let me apologize in advance if this comes across as a little incoherent. I'll do my best to state what I am trying to achieve.I am trying to develop an application that can place a...

View Article


AUTO: Liam Wilks is out of the office on leave. (returning 12/09/2016)

I am out of the office until 12/09/2016.Please contact Darren Heargraves or David Girvan if you have any issuesx7189.I will respond to your email when I return.Note: This is an automated response to...

View Article

[v8 VBA] Place linestring (continuous) using iprimitive command events

Dear all,I want to draw continuous linestring using iprimitive command events in VBA (with some added info). I have gone through Help document.. I could find the example of line element creation but...

View Article

set keyins in microstation v8 2004 edition?

Dear all,               I am using Microstation v8 2004 Edition. I set the key-ins to the function keys (F1 to F12) for easy access of the tools its working fine but i am trying set the key-ins to all...

View Article


[V8i MicroStationAPI] ElementFacetSet

The ElementFacetSet class provides plenty of information about the facets it holds.  Unfortunately the methods that reveal the information are sparsely documented in MicroStationAPI help.For...

View Article


[C# Connect] Creating Meshes

In the past I have posted about trying to utilize PolyfaceHeader::CreateXYTriangulation in C#, however it is only available in native code.Today, I was looking through the assemblies packaged with...

View Article

[CONNECT C++] Text/properties/formatting

Hi,I used "textblock" created a string of text. I found out that the text length and width are zero (from text property/formatting). I used following code. TextBlockPropertiesPtr tbProps =...

View Article

[CONNECT C++] Sprites

How do we create Sprites under connect?I believe the function used to load these under the V8i SDK was Bentley::Ustn::ISprite::CreateFromIconResource (int rscId, void *hInstance).There was also a...

View Article

[CONNECT C++] Single line of text string

Hi,The text block is too complex for simple use.I just need print out just one line of text. Is there a simpler way to print out single run of text?Best,

View Article


[CONNECT C++] TextBlock location and size

Hi,I double checked class textblock methods. I did not find out there is any methods to set textblock size. Is there any way to set every run of text location?Best,

View Article

[CONNECT C++]Get current location.

Hi,Is there any methods to get current mouse or cursor location (Coordinates)?Thanks

View Article


Image may be NSFW.
Clik here to view.

(v8i VBA) Returning the XY range of a shape element to a form

I am writing a VBA code for microstation that will allow the user to select an element, the macro will determine if it's a shape or complex shape, and return the max/min XY values for the entire...

View Article

[CONNECT MicroStationAPI] IViewManager::LoadSpriteFromRsrc missing

The MicroStationAPI documentation about Sprites mentions static method IViewManager::LoadSpriteFromRsrc().  However, that function is not available in any public header file.Shouldn't that function be...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT C++] Text location was offset

Hi,I am using two kind of methods to draw text. I got different drawing.I used old "mdltext_Create" API. The drawing show correctly. DgnPlatform::TextParamWide textParam; textParam.font =...

View Article

[CONNECT VBA] CreateTextElement1 unknown error (80040c7f)

Why this part of code no longer works in CE and returns unknown error?Dim teP As TextElementSet teP = CreateTextElement1(Nothing, "", Point3dZero, Matrix3dIdentity)

View Article

How can i get the element information of an element which used for fence...

hello,my requirement is to make a fence from boundary of a shape element by clicking inside of the shape (not "on the shape") and get the element ID of that shape element for further process with...

View Article
Browsing all 4331 articles
Browse latest View live


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