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

[v8i MDL] Can I use 'new' instead dlmSystem_mdlMalloc to dynamically allocate...

 Hi AllI've been using the 'new' operator to  allocate vectors as follows:                                  DPoint3d *pnts = new DPoint3d[_size_];                                  ...........

View Article


[v8i MDL] Can I use 'new' instead dlmSystem_mdlMalloc to dynamically allocate...

Hi All!I've been using the 'new'operator to  allocate vectors as follows:                                  DPoint3d *pnts = new DPoint3d[_size_];                                  ...........

View Article


Image may be NSFW.
Clik here to view.

Key-in for Element Selection or Powerselector

I use a Key-in in script file when it runs the element selection tool (powersel) is gone so I have to reload. In the VBA routines you can have it reloaded automaticallySCRIPT:set weight toggleselview...

View Article

[MS CE] How to check if model has any graphics elements?

I want to check if the model has any visible entities but can't find good and correct methods.

View Article

Image may be NSFW.
Clik here to view.

Compilation Error

Dear Firends,When compile the example code (basic). i got the following error. Please kindly help me to solve the error.Regards,Saravanan

View Article


Bentley or CAD specific databases?

Noticed over the years that there seems to be a lot of different 'databases' or data structures or engines that are used within the Bentley verticals.For example:Aecosim has 2-3 main 'databases' :Parts...

View Article

Edit Dimension Element

Dear All,I want to stretch the existing linear dimension element between two points. How to accomplish this by using C#?For line element, we have 'modify vertex' method. Similarly, is there any inbuilt...

View Article

[CONNECT C++] Resetting Active SnapMode in DgnElementSetTool

My tool requires the use of either KeyPoint or Intersection SnapOverides. I save the current SnapOverride in _OnInstall(). change it to either KeyPoint or Intersection (based on other tool settings)...

View Article


[CONNECT C++] FractionToPoint()

I am attempting to find the tangent of a linear element at it's intersection with another element in a DgnElementSetTool. I can retrieve a CurveVectorPtr of the picked location, but I cannot figure out...

View Article


MDL Syntax

Hello. New guy here...well, old new guy :DWas a MicroStation user for many years (many years ago) and took the one and only MDL programming course that was available at the time. Getting sucked back...

View Article

[V8i C#] Setting model scale when attaching to sheet

Hi All,I'm generating an A1 sheet view of a model and having difficulties setting the scale.  After running the below code and open the model in Microstation it is 1:1, not 1:250 as I want it.  If I...

View Article

Toggle visibility of reference of a reference in reference manager

Hi,I need to react on the toggle visibility event when I turn the visibilty of a reference within a reference on or off. I do so by catching the event "mdlSystem_setFunction(SYSTEM_REFERENCE_MODIFIED,...

View Article

[CONNECT C++] Item Types Pick List API

MicroStation CONNECT Update 7 documentation has some hints that Pick Lists are to be introduced to Item Types.  That is, the ability of an Item Types schema designer to add a list of possible values...

View Article


Point project to shape (3D)

I have point A and shape element in a 3d file.How to find projection point A  (A') on shape element?I need vector AA'.any suggestions?

View Article

Adding an element to a named group that is in an attachment, Error Number...

I am trying to write what I thought was a simple program to add elements to a named group if they meet the criteria I designated. However when I go to add an element that is in an attachment to a named...

View Article


Image may be NSFW.
Clik here to view.

Set Feature Cell Parameter with VBA

Hi All,I have a script for placing a bunch of cells in the active design file; however I want to update this to be able to place feature cells and specify a parameter value for each instance. For...

View Article

Image may be NSFW.
Clik here to view.

Adjust Dimension-Text Location Using Microstation VBA/C#

I want to adjust/move the dimension text from one location to another location(Here both source and destination co-ordinates are known). How to perform this? Kindly suggest.Screenshot is attached for...

View Article


Declare Function mdlDialog_completionBarOpen in stdmdlbltin.dll not working...

Hi!So I'm trying to move our vba scripts from old v8i to Connect edition. Most of the things work just fine but when I'm trying to run a script which is usingPrivate Declare PtrSafe Sub...

View Article

请问Chr$(-56)字符是什么意思

用宏录制了一个操作,编辑查看时,其中有一行命令为:CadInputQueue.SendKeyin "task sendtaskchangedasync ""\Building Designer " + Chr$(-56) + Chr$(-50) + Chr$(-50) + Chr$(-15) + Chr$(-64) + Chr$(-72) + "\" + Chr$(-51) + Chr$(-68)...

View Article

Image may be NSFW.
Clik here to view.

Shape triangulation.

I use microstation V8i (SS3) and programming in MDL.I have shape element in 3D, this shape is non coplanar.When add fill:After use...

View Article
Browsing all 7260 articles
Browse latest View live


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