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

[Connect - MDL / C++] Copying elements with items and labels by fence will...

Hi,I've got some problems when I copy elements with items and labels from a reference file. The elements, items and labels a copied but extra cell elements with the label text are added too.I've...

View Article


How to Use macro to open and copy place fence của 1 file reference  Order...

Have a good day.How to create macro:Example: file 1: 00001*.dgn copy from file: *00001.dgnFile : 00002*.dgn copy from file: *00002.dgnFile: 00003*.dgn copy from file: *00003.dgnFile: 00004*.dgn  copy...

View Article


Image may be NSFW.
Clik here to view.

[Microstation Connect Update4 MDL C++] how to implement the function of tool...

View Article

[microstation connect update4 MDL c++] SolidUtil::Create::BodyFromLoft failed...

extract boundary curves from top and bottom b-surface, and then making b-surface with the two boundary curves failed, please give me a reasion, DGN file in attachment below,  my code as follow:...

View Article

Batch Process & BIM Level/Serial# Generator

Hey, this might be fairly fundamental or rudimentary for you, and if this is not the place to post this, please let me know where.  I am looking to generate a dgn with level names and level color...

View Article


[V8i VBA] Matrix3D and multiple rotations

In an existing project that I have posted about previously I can insert cells at known coordinates and calculate a rotation on the XY plane  so the cells are perpendicular to a target linear element...

View Article

[V8i VBA] ProjectPointOnPerpendicular problem

As an aside to my other live discussion thread, I was testing my existing code using the sloping line element but I changed the test coordinate so that it was no longer planar on the XY plane with the...

View Article

[Connect update 6 NET API] DgnTorusPipe problem

Hi,I have created DgnTorusPipe and trying to get DgnTorusPipeDetail from created element but getting null pointer as result.I do not understand why function TryGetDgnTorusPipeDetail returns null...

View Article


C# Microstation V8I 如何读取非当前的dgnlib文件中的元素?

我想将很多构件放在dgnlib的model中,然后做一个插件可以在某一个dgn文件中遍历选择的dgnlib文件中所有的model,将model中的构件以cell的方式插入到该dgn文件中,但不清楚c#读取dgnlib文件(或dgn文件,dgnlib文件是一种特殊的dgn文件,因此应该同于读取dgn文件的方式)的方法。请老师们指点一下。

View Article


[Connected Edition] Rotation-X inconsistent in different machines

I have posted this question in another forum but didn't get any feedback, so I would like to hear some experts in this forum since I know you are more familiar with Microstation than me....

View Article

Image may be NSFW.
Clik here to view.

C++或C# 如何控制打开的DgnModel 默认Construction类型的元素是不现实的?

C++或C# 如何控制打开的DgnModel 默认Construction类型的元素是不现实的?比如Drawing或Sheet类型的DgnModel不显示构造线元素如图:

View Article

[CONNECT C++] Predefined variables not loaded before rest of workspace

I just noticed that in Update 6, all of the workspace configuration files get loaded before the MicroStation Manager is displayed.This seems to be different to all previous versions of MicroStation...

View Article

[CONNECT C++] DialogItemHookHandler Lifetime

I found the DialogItemHookHandler and DialogHookHandler classes tucked away in a corner of the MicroStationAPI help doc.  They simplify the task of writing a dialog or dialog item hook (a.k.a. callback...

View Article


From V8i to Connect with KISolid functions

Hello,we are in the process of migrating from v8i to Connect SDK. We have many dlls and we need a little help to find some references that are probably relocated, or new ways to do the things we used...

View Article

PSolidCore & C#

In MicroStation API Documentation we found solid functions we need inside PSolidCoreAPI.h.Very simply: what do you recommend as a best practice to access those functions programming in C#? Do we need...

View Article


MACRO "toggle TextNodes on views" setting all opened views ON or OFF

Hi,I want to switch the view setting (showing TextNodes) on all my opened views to ON or to OFF by using "one" F-Key as toggle!Regardless of how the view setting (view TextNodes) of different views are...

View Article

[CONNECT C++] Dialog Items Access String

An MDL dialog item usually has an access string that connects it to a published global variable.  Here's an example taken from the delivered DialogBoxDemo...DItem_TextRsc TEXTID_DialogDemoColor = {...

View Article


[Connect update 6 NET API c#] PolyfaceHeader normals.

Hi,I am trying to get info about mesh normals but function  ( Bentley.GeometryNET)Normal PropertypublicIEnumerable<DVector3d> Normal { get; set; } and function NormalIndex...

View Article

MDL / VBA solution for permanent fill of shapes (msdFillMode)

HelloReferring to my post here:communities.bentley.com/.../view-independent-fillregarding the permanent filling of surfaces, I come to the programmers forum and ask for help.Jon has already posted a...

View Article

Image may be NSFW.
Clik here to view.

Microstation V8i get tag element crashes Excel macro

Darius Walczak Hi,I have been trying to write an Excel VBA macro which:1. opens all .dgn files from selected location2.scans for all cell elements in active model3. builds an array with found cells4....

View Article
Browsing all 7260 articles
Browse latest View live


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