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

Image may be NSFW.
Clik here to view.

[uStation v8i VBA] oEle.AsTextElement.Text in Find/Replace Text Project =...

Hello once again.  I am trying to make a VBA Project to automate a process at my office within Microstation.  Please see the below image:Upon the click event the button in the bottom right will scan...

View Article


Image may be NSFW.
Clik here to view.

[v8i C] Setting "Top of Slab" parameter of "Place Slab Form"

Hi,I have an input monitor function and I am trying to set "Top of Slab" parameter of "Place Slab Form" command.I recorded below macro to be able to find the parameter name.Sub Macro1() Dim startPoint...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT C++] Showing a degree symbol in a Text Item

Here is a (hopefully) simple question for a change. In MicroStation V8i I had a Text Item that let the user enter an angle, in degrees. It showed the degree symbol after the number. It was defined like...

View Article

[V8i VBA] Restrict line direction?

HiI have 2 days remaining before I leave my current employer and I am trying to add an extra functionality to a VBA project for a colleague before I leave.I want to simulate the create of a line...

View Article

c# raster mirror

Hi all,I am creating a addin (C#) in MicroStation and I am looking for a good way to mirror a raster vertically. The raster is already attached in the rastermanager. Of course is it possible with a...

View Article


My thoughts and fears on using text styles in Border-Seed-Files.

Hello,I have a bad feeling regarding text styles and its application on Border-Seed-Files.As an example, the following configuration:- In a DGN.lib I have all my text styles and are available ion every...

View Article

Image may be NSFW.
Clik here to view.

VBA not recording in V8i (SS2)

hi,Please help me on the below subject.VBA not recording the Text Height, Text Width.for reference, please find the attachementSub Macro3()    Dim startPoint As Point3d    Dim point As Point3d, point2...

View Article

VBA SS2 comments

Do you programmers use comments in your code?  I am not a programmer, so maybe my experiences are not applicable, but what I've found that works for me is to write out the comments in English of what I...

View Article


SAT import batch process

Hi All,I have been trying write a simple command that will import a sat file based on the current dgn file name.Tired both a simple keyin versions and a recorded VBA with a few changes but still can't...

View Article


[v8i MDL]

符工好,无意间看到几年前你发表的帖子void displayWString (WString wStr){ char msgStr[10240]; wStr.ToChar(msgStr, 10240); mdlDialog_dmsgsPrint (msgStr);}void listECXAttrs (ElementID elID){ XmlInstanceStatus iStatus; bool...

View Article

[v8i c++]How to modify properties via XMLInstanceAPI

DgnCacheP dgnCachep = mdlModelRef_getCache(ACTIVEMODEL); ElementRef eleRef = dgnCache_findElemByID(dgnCachep, elID); EditElemHandle eeh = EditElemHandle(eleRef, ACTIVEMODEL); XmlInstanceStatus iStatus;...

View Article

{CONNECT C#] sweep profile along Bspline or curve has error

Hi, I want to create a Bspline curve element, but when I try to create the bspline, the MS will have the error and close automatic.This is my code: BCOM.Application msApp =...

View Article

Image may be NSFW.
Clik here to view.

work page

Is it possible to modify the work page ?  I want to add an extra button under "open" that starts some vba code.thanks.

View Article


mdlClip_fromElement() - How Does it Work?

I need to create a clipping descriptor from a simple shape element. Have tried using mdlClip_fromElement() but I can't figure out why it's not working. The return code is 0 and it looks like it creates...

View Article

MACRO

Hello,Is it possible to create macro for PowerSelector tool of specific color (style, level, weight etc.) Thank you.

View Article


mdlClip_fromElement with a solid

Hi,I try to create a clip desciptor from a solid which is a projected surface. I create my solid like this : points[0].x = xmin; points[0].y = ymin; points[0].z = zmin; points[1].x = xmax; points[1].y...

View Article

[v8i sdk]如何遍历文件所有model看是否有3d的model存在

最好能有代码样例

View Article


Upgrading V8i MDL Apps to Connect

Is there any documentation on the absolute basic essentials to implement when porting from V8i mdl's to Connect?.  I have written a few mdls in the past and want to now re-compile them for Connect.  I...

View Article

Image may be NSFW.
Clik here to view.

【V8i select4 mdl】Build error of C3861

There is build error about bmake. It reports the setdefaults function can't be found.

View Article

[CONNECT C#] Programmatically export to STL

Hi all,is there a way to programmatically export some elements of a design to STL format?I'm trying to achieve something like "MDL KEYIN STLIO STL EXPORT",  configuring the relative settings by code...

View Article
Browsing all 7260 articles
Browse latest View live