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

Reference Icon

My Reference File icon will not stay on when I click on it in the pull down. I can still drag and open the Reference Icon using the down arrow, but it disappears once the curser is not over the...

View Article


Image may be NSFW.
Clik here to view.

Compilation Error (tcb->dgnfilenm)

Dear Firends,I got the error for the below line codestrcpy( curdgnname, tcb->dgnfilenm)I have included the .h file  #include <tcb.h>Error:Please kindly help me to solve the error.Regards,Saravana

View Article


Image may be NSFW.
Clik here to view.

[CONNECT U7] Resource parameter "stretch" explanation

I'm trying to define a CmdItemListRsc using Layout Manager. Specifically, I'm using a Grid Layout. So far I've got a two column grid defined, and I've put two toggleButtons on the first row, followed...

View Article

[V8i VBA] what is the best way of storing data

I am  using Microstation V8i with VBA.Between the various ways of storing information on elements (Tags, XAttribute, XData, EC Schema, User Data, etc.) what would be the most future friendly way of...

View Article

[CONNECT, C++] Setting the dimension style to "none" on an element

Hi folks,Doing this in V8 was always a massive pain involving some version-dependent hacks but those same hacks don't seem to work in Connect.What is the programmatically correct way to set an existing...

View Article


Image may be NSFW.
Clik here to view.

v8i ElementFacetOptions设置了之后没有用处

在v8i版本中用IElementGraphicsProcessor导出构件,设置了_GetFacetOptions函数之后,得到的离散化的三角面片精度太高,不起作用

View Article

MDL linker

Hi,Using MDL linker "mlink", I want to specify the stacksize but don't remember the utility of -cs, -csoff and -cson options. Do I have to specify -csoff if I want to define a particular stacksize,...

View Article

Image may be NSFW.
Clik here to view.

Cannot convert parameter from MSWChar to MSWideCharCP

Hi Friends,I got the error for the below lines of code.if(mdlWideChar_strlen(tag_spec.set.setName) ==...

View Article


MicroStation Script

I created a script in V8i SS3 to delete a model in 50 design files.  The command is model delete "WICK DRAIN".  I'd like the script to run on all the files unattended. I've created a launch.bat that...

View Article


[CONNECT, C++] How do I set the terminator fit options in a dimension element?

I can more or less set every dimension property reliably in Connect now aside from the terminator fit option for text/terminators.When I call this:DimStyleProp_FitOptions iFitOptions =...

View Article

[CONNECT C# Addin] Focus on desired view

Hello all!I am newbie and trying to create my first addins for MicroStation. I used Jon Summers's article to focus view on element (Big thanks!).According this article I have to update views to see my...

View Article

[CONNECT C#] How to "hear" click on any tool icon?

Hello!Is it possible to recognize mouse click on MicroStation tool icon? (It means the selection of some MicroStation tool).My addin scans and highlights elements one by one (user pushes button in form...

View Article

[MicroStation V8i SS4 SDK] Installation Identifies itself as SS3

I just downloaded the MicroStation V8i SS4 SDK.  When I start installation, it identifies the product as the SDK for SS3, not SS4.  The install file is mssdk081109829en, so the version number looks...

View Article


[Connect MDL] Problem with mdlMesh_getPolyfaceArrays

Hei,My system is windows 7, VS 2015, Connect update 6I am trying to use mdlMesh_getPolyfaceArrays bu having some problemsThis is the code: Bentley::Bstdcxx::bvector<int>* pIndices ;...

View Article

[CONNECT C++] PartialDelete

I need to partially delete a section of a linear element between two points. Before CONNECT I would use mdlElmdscr_partialDelete() to accomplish the task. Is there a newer CONNECT way to do this in the...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT C#] International characters in Custom Properties

When I create Custom Properties (or Item Types) containing international characters the InternalName will be different from the visible Name. When I use item.SetString(propertyName, propertyValue) or...

View Article

[CONNECT C++] Element Templates

I'm trying to use MstnElementTemplateMgr::ActivateElementTemplateByPath(), but the compiler is complaining about the definition for 'TemplateSymbologyRemapperP' as used in 'MstnElementTemplate.h'. I...

View Article


ActiveDepthDistanceFromGlobalOrigin and Dynamic IPrimitiveCommandEvent

hello, I'm using the example of C # .NET Template with IPrimitiveCommandEvents Class and it works perfectly, but I have a problem:1. I am drawing a line with depth 298 (for example).2. When I finish...

View Article

How display transient element.

I use microstation V8i (SS3) and programming in MDL.I use function mdlTransient_addElemDescr{ msTransientElmP = (TransDescrP)mdlTransient_addElemDescr (msTransientElmP, edPP, TRUE, 0xffff, NORMALDRAW,...

View Article

[V8i C# / VBA] - generating connections between points

HelloI am trying to create a macro which should generate connection between 2 points in 3D. The biggest issue is that line has to use only 90° angles.To be precisely understood - the lines must be...

View Article
Browsing all 7260 articles
Browse latest View live