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

How to create text node with subscript/superscript by MVBA?

Hello All,I can create text node without subsctipt/superscript, I'd like to know how to create  subcript/superscript, can someone show me some sample code? Thanks a lot!

View Article


Image may be NSFW.
Clik here to view.

[CONNECT C++] Create custom IECInstance formatter for ItemType property

I have existing code that creates an IECInstance formatter for the area property of my Item Type. bool CreateAreaFormatter (IECInstancePtr& formatInstance, int nUnits, int accuracy,...

View Article


Image may be NSFW.
Clik here to view.

I am not able to run my command button created through userform in vba editor...

I have recorded a macro in microstation v8i ss4 and I have created a command button through userform in visual basic editor. But I am not able to place the command button in the drawing and run the...

View Article

Image may be NSFW.
Clik here to view.

Need help to rename view group batch process for dgn export from autocad

Would someone to have the script txt, vba, mvba or macro to run batch process for rename"Model" to "Design Model" (is the tab name from autocad on model space)"Layout1" to Plot Model" (from autocad is...

View Article

MicroStation Addins

I am using MicroStation Connect Edition Update 11 - Version 10.11.00.6, Windows 10, Visual Studio 2015 and .Net Framework for the project is set at 4.6.1.  I am trying to build the MicroStation Addin...

View Article


[V8i C++] Displaying point clouds with GetFPoints

Hi,I'm trying to display a point cloud using the IPointCloudDrawParams. I managed to do this with the GetDPoints method. However it requires to keep my points as DPoint3d.  To save some memory I would...

View Article

[CONNECT C++] ElementGraphicsTool vs DgnElementSetTool

I want to write a cell picker tool.  My goal is to modify a nested cell inside the picked cell element.I started to write a picker class inheriting from DgnElementSetTool. On reviewing the...

View Article

[CONNECT C++] Could not extract geometries from an extended element...

Hi,I have one model, it is an extended element containing a smart solid. /cfs-file/__key/communityserver-discussions-components-files/343173/2_5F00_SmartSolid.dgnI trying to extract geometries using...

View Article


[CONNECT C++] MicroStationAPI ActiveSettings documentation incorrect

MicroStationAPI help lists a number of methods under topic Active Settings.  For example,static BentleyStatus GetValue (bool &value, ActiveBoolParams paramName) Gets the value of an active...

View Article


VBA and Microstation Update 11

I have a macro working correctly with the Update 10 but not working anymore with Update11........Dim oItemPropHandler As ItemTypePropertyHandlerDim oItemLibs As ItemTypeLibrariesDim oItemLib As...

View Article

MicroStation SDK Dimensions Example

I am trying to load an example from the MicroStation SDK examples; DimensionsExample.  When I try to load the addin, I get the following error:System.BadImageFormatException: Could not load file or...

View Article

Update Textstyle Name Not working

I am using OpenRoads Designer CONNECT Edition Release 4 Update 6 - Version 10.06.00.38.I wrote a VBA script that uses element enumerator to scan for all text and will pass the current enumerator as a...

View Article

[MDL] Determining OptionButton SubItem widths

I've got a "blank" (i.e. no SubItems) OptionButton definition in my resource file. I "insert" items dynamically using mdlDialog_optionButtonInsertItem(). When the OptionButton is displayed in the...

View Article


Offset Line Element using Offset method of BsplineCurve object, accurately

Hi,I want to offset a Line Element on both sides using Offset method of BsplineCurve, I have written code, which first convert Line to BsplineCurve and do offset, I want Offset BsplineCurve  convert...

View Article

Image may be NSFW.
Clik here to view.

Performance and quality balance for ElementGraphicsOutput::Process

Hi Experts,I want extract graphics meshes for the model which contains quite a lot extended elements. The workflow is 1) use ElementGraphicsOutput::Process to collect tessellated facets in...

View Article


The Generalization of Bentley-Ottmann Algorithm

Bentley-Ottmann Algorithm is used to determined the intersection point of a list of lines. However as mentioned here in Wiki, there are a few drawbacks:The algorithm assumes that line segments are not...

View Article

Image may be NSFW.
Clik here to view.

how to get the triangle mesh information include (uvs) for each face of an slab

Hi experts,   I have an requirement to get triangle mesh(include uvs for texture) for each 'face' of a slab box as bellow,this box has 6 faces, i want to iterate each face and get the face's triangle...

View Article


microstation mouse events

how to use mouse events in MicroStation Active (*.Dgn) File (.mvba) the following below events? or How to lock zoom Event in pan event the dgn element?1.Right and Left click 2.Double click 3.Mouse...

View Article

Image may be NSFW.
Clik here to view.

During the generation of HelloWorldcmd.h,the compilation said"cannot open...

it will success by this way:But when I using  VS2013 (started by administrator),it has the problem as follows:The version is MSCE Update4,VS2013And the development environment is like this:Microstation...

View Article

[CONNECT C++] TextField::CreateForModel

TextField::CreateForModel (DgnECInstanceCR instance, ...);What is the DgnECInstance I need to pass?  Is that a DGN model EC instance?  How do I create such a thing?

View Article
Browsing all 7260 articles
Browse latest View live


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