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

[Connect up.4 NET.API] Modify/Delete cell subelement

Hi,I would like to delete/modify cell subelement.This is my code so far. CellHeaderElement cell = (CellHeaderElement)element.ParentElement; CellQuery oCellQuery = cell.AsCellQuery(); bool res1 =...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT - MDL C++] Problem with mdlClip_isElemInside in 3D

Hello,I need to put cell in shape, but only if it fits fully inside shape. In 2d files this code work correctly : if cell is outside shape element it's removed. But in 3d file it doesn't correctly...

View Article


Image may be NSFW.
Clik here to view.

[V8i vba] how to tell if your cursor is to the left or right of a point in a...

I have a iprimitive set up to place a text node and it has a call out box around it. I have coded it to check in the dynamcs event if the cursor is on the right side of left side of a point to figure...

View Article

[Connect up4 NET.API] Addin could not be loaded, it does not have an...

Hi,I have created several addins and they work fine on one PC.However, when I try to load same addins on another PC I get this message:"....could not be loaded because ... does not have authorized...

View Article

[V8i C++] CPU usage

Hi everyone, I'm currently developing several macros using VBA but I found out that when it comes to import, manipulate and project heavy data, the process takes a lot of time to elaborate all these...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT] Enable/Disable Custom Toolbox when app is Loaded/Unloaded

I have a custom toolbox, created using MicroStation's customisation tools...The toolbox is shown automatically by MicroStation.  Each toolbox icon has an underlying app.-specific command.  However,...

View Article

Need Help on Microstation VBA to change text view from TOP view to Isometric...

Hi Microstation Users,I am trying to write a VBA Macro which helps us to get the data from excel sheet and place it in title block of microstation drawing and the macro runs till the end of row and...

View Article

[CONNECT C++] TextBlock::AppendField

The MicroStationAPI documents  TextBlock::AppendField but has this note...This API is currently a Work in Progress (WIP) to allow direct access to fields, and is a short-term workaround/solution.What...

View Article


[CONNECT C++] Correlating an Element with its DgnElementSchema class name

SchemaInfo schemaInfo(ECN::SchemaKey(L"DgnElementSchema", 1, 0), *pDgnFile); ECN::ECSchemaPtr pSchema = ecMan.LocateSchemaInDgnFile(schemaInfo, ... ECN::ECClassCR ecClass =...

View Article


[CONNECT VBA] Text color

I am unable to set override text color in VBA. Same code works in v8i but not in CONNECT. Text is placed white(maybe related to defect 278792?) Dim teP As TextElement Dim lvP As Level Dim txsp As...

View Article

[CONNECT C++] Reading ElementTemplate Components

Is it possible to examine an ElementTemplate to inspect if it has an "item" definition? I don't see anything in ElementParameterType that looks like an item.  Thanks,Bruce

View Article

[CONNECT C++] Formatting using ECN::IECInstance

I have a text field populated with the API's default formatting.  It's an area measurement and looks something like Area: 134.3201 Sq. m, where Area: is user-supplied text and 134.3201 Sq. m is a text...

View Article

Image may be NSFW.
Clik here to view.

[Connect update 4] Problem with TextNode Rotation

Hi,I tried simple VBA code and I get error while trying to read TextNode Rotationbest regardsNenad

View Article


Is there an API for GUID-based Workflows?

Just wondering if anyone is using GUID-based workflows in their apps.This thread mentions something called 'Cross Diciplinary Coordination Services' xDCS, which is apparently and outgrowth of ISM,...

View Article

[CONNECT C++] IDgnECTypeAdapter::GetStandardValues

IDgnECTypeAdapter::GetStandardValues fills a StandardValuesCollection from the MstnPropertyFormatter schema.  Here's a fragment of XML...<StandardValues xmlns="EditorCustomAttributes.01.00">...

View Article


[Connect C++] Porting saved named view creation code

How should I go on with porting old saved named view creation code to Connect?The code does not modify current view, instead the saved view is used when the current file is attached to drafting file...

View Article

[Connect C++] How to check if level code is valid in level library?

I have old code like below to check if level code is valid before using it. As LEVEL_LIBRARY_MODELREF is goner, how should this be handled with Connect? if (mdlLevel_isValidByCode(ACTIVEMODEL, value)...

View Article


Image may be NSFW.
Clik here to view.

Microstation V8i Programming

When i compiled my application in microstation sdk. I got the warning message in .mo file. I have attached the warning message details. Please find the image below and resolve my...

View Article

[V8i C#] Possible to know when a data point is snapped in a primitive tool?

In Connect I am able to use the Source property of the primitive tools OnDynamicFrame DgnButtonEvent to determine if the point is from an element snap, tentative point, or user.For V8i, is it possible...

View Article

Image may be NSFW.
Clik here to view.

Visible Edges "Active File" VBA Code

Trying to create a batch file for exporting Visible Edges.Found all the VBA variable valuesestyles into geometry.                                (default OFF)        -ED3, -ED2      --- 3D, 2D output...

View Article
Browsing all 4331 articles
Browse latest View live


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