Property Handler - Error while assigning a textstyle to TextElement -...
how to change the text style of a text element with PropertyHandler ?If xPropertyHandler.SelectByAccessString("TextStyle") = True Then 'PASSED THIS STATEMENT Debug.Print...
View Article[MS V8I SS3] what's the value stored in linkages in the Raw Data panel? how...
I create a text element in a model. when i expend the Data Row panel in the information dlg, and found a Linkages property. the value of the Linkages sometimes is 1,sometimes is 2, and I want to kown...
View ArticleAutomatic DWG Export
Hello ,i want to automatic the DWG Export.My first idea where to record a Makro, looks fine but doesnt working.I want to record: File --> Export --> DGN/DWG.. and then i choose DWG.But the...
View ArticleHow to modify Vertices in LineString (3D) with MDL
Hi everyone,I am trying to write an MDL for Microstation V8i (Select Series 4) which should transform the heights according to a certain height-modelling for different element-types.I am using a Loop...
View Article[Connect CPP] Place parametric cells programmaticaly
HiI've created some parametric cells in a celllibrary and I want to place them programmatically. I've looked into the constraint2ddemo example and I've made it work but this example 'just' places a...
View Article[CONNECT NET] Change Text properties
Hi everybody,someone knows how I can modify the text properties in NET CONNECT API: justification, width, Height, ... I've been trying with SetRunPropertiesForAdd but I can't do it.many thanks,
View Article[CONNECT SDK] Text module documentation
Both the MicroStationAPI help and the DgnPlatformNet help refer to the Text module documentation. For example, from DgnPlatformNet help: In the TextBlock DOM, this is the master object that represents...
View Article[CONNECT NET] Where do I get this value?
I'm trying to associate an Area text field to multiple shape element. So, I used the Macro tool to record, while I annotated a shape element with it's Area, and converted the Macro to VBA to see the...
View Article[CONNECT .NET] Describe Element Example is mis-named
I notice that the DescribeElementExample, delivered with the CONNECT SDK, is mis-named. It has little to do with describing an element. Rather, it is an excellent demonstration of Item Types and how...
View ArticleRunning VBA with Geopak
I am creating an application in Microsoft Excel (2016) that will open a Power Geopak V8i (8.11.9.878) drainage project file (.gdf) and extract data from it. I have referenced both the Microstation and...
View ArticleRunning VBA with Geopak
I am creating an application in Microsoft Excel (2016) that will open a Power Geopak V8i (8.11.9.878) drainage project file (.gdf) and extract data from it. I have referenced both the Microstation and...
View ArticleHow to set all reference visible edges to legacy
Hello All,I'd like to set all reference (including nested references) visible edges to legacy. I find there is a key-in command "reference visibleedges allmodels dynamic/cached" to set them to dynamic...
View Article[MVBA] How to disable SaveAs / export function
Hello All,I'd like to disable the SaveAs and export function, I have triedISaveAsEvents_AfterRemapISaveAsEvents_BeforeRemapISaveAsEvents_AfterSaveAsI find it cannot stop the saveas command. Can anyone...
View Article[Connect update 7 API] How to change PointCloud view presentation?
Hi,My system is windows 7, VS 2015 I have attached PointCloud file (POD). PointCloud element has Color channel ( all points are green).I want to switch on RGB presentation and apply new setting to Top...
View Article[CONNECT C++] ECSchema GCS Coordinate Property
I want to annotate a point (e.g. a cell) with its coordinates in an associated text label. I can see in BaseElementSchema that an ECClass named MstnCellProperties has a property Origin. The origin is a...
View Article[CONNECT SDK] GCS Documentation
The enum ReprojectStatus in GeoPoint.h is documented in a table...However, the documentation formatter didn't work correctly: the first line (SUCCESS) is documented in the second line. It's an...
View Article[Connect C++] Own commands - Tool not allowed. File is Read-Only
Hi Community,all my commands won't run if I open a file in read-only mode. Does someone know how to define that the commands are no manipulation commands? Can't find hints in the SDK Help.enum...
View Article[CONNECT C++] EditElemenatHandle and ApplyTransform()
In making the switch to using the new MicroStation API (EditElementHandle), it seems the examples that I have seen (and have used) all did something like this to apply a transform:Transform tMatrix;...
View ArticleVBA Station and Offset of Drainage Structures
I'm trying to create a VBA or MVBA that will give me station and offset for a particular element in an InRoads drainage database. I see that the station and offset can be given in the drainage report...
View Article[CONNECT NET] Copy Item Types
Hi,how can I copy all item types from one element to another with NET API?many thanks,
View Article