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

RE: [V8i VBA] Help to improve code to update reference logical names.

Daniel's recommendation of "pattern matching" is a certainly good choice if you strict file naming conventions are adhered to. I would recommend that you look into Microsoft VBA "Dictionary" objects or...

View Article


RE: [V8i VBA] Help to improve code to update reference logical names.

That is what I would like to do. Somehow give it an external list of file names to use. I'll have to do some research on the subject. I don't currently know how to accomplish that.

View Article


[V8i VBA] Help to improve code to update reference logical names.

With some help from Bentley support I have some simple VBA code that looks at the logical name stored in the model of a reference file and then updates the logical name where it's attached with that...

View Article

RE: [V8i C++] Approach To Edit A Cell's Text Node Inside OnElementModify()

Hi Bruce,In quickly reviewing this post, I did a quick search ("OnElementModify AND replace") where this thread "[V8i C++] OnElementModify() and adding Linkage using mdlLinkage_appendUsingDescr()"...

View Article

[V8i C++] Approach To Edit A Cell's Text Node Inside OnElementModify()

In my MStnElementSetTool, I want to be able to edit the contents of a text node. Once in OnElementModify() I have the cell, and I can use a ChildElemIter to find the Text Node that I want to "edit"....

View Article


RE: [CONNECT DgnPlatformNet] How do I spell IViewManager::UpdateView in C#?

Hi Jon,I believe you may be able to achieve an update for the desired view (group) doing something like the pseudo-code below:USE: Bentley.DgnPlatformNET.ViewGroupStatus...

View Article

[CONNECT DgnPlatformNet] How do I spell IViewManager::UpdateView in C#?

The DgnPlatformNetViewPort class documentation includes this note: To update the view, see IViewManager::UpdateView or IViewManager::UpdateViewDynamic.But IViewManager is part of the C++...

View Article

RE: [AECOSim Building Designer V8i - VBA] - "Place Wall"

Dear YongAn: How could I refer the TFCom and STFCom? It's no way to refer .

View Article


[AECOSim Building Designer V8i - VBA] - "Place Wall"

Is it possible to place a wall by a vba-macro?Something like...       Set MyLine = Application.CreateLineElement2(Nothing,StartPoint, EndPoint)       Application.ActiveModelReference.AddElement My...

View Article


RE: [AECOSim Building Designer V8i - VBA] - "Place Wall"

Hello Chih bo yu, If you are using C#, you should reference Bentley.Interop.TFCom.dll which is under folder C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i...

View Article

Image may be NSFW.
Clik here to view.

RE: [AECOSim Building Designer V8i - VBA] - "Place Wall"

[quote user="chih bo yu"] How could I refer the TFCom and STFCom?[/quote]If you're writing VBA, then use the Tools|References menu in the VBA editor to pop the VBA References dialog.  Then you can add...

View Article

RE: [CONNECT VBA] Sendkeyin

It's not just your macro. The same thing happens when you enter those key-ins into the Key-In Browser. I'm actually surprised the Place Text key-in is still available. According to the documentation...

View Article

RE: [CONNECT DgnPlatformNet] How do I spell IViewManager::UpdateView in C#?

I tried this, and it most definitely is not what is needed here... Upon calling MakeActive, all of my views reset back to the origin and in their original layout. I also tried using the active...

View Article


RE: [V8i VBA] Help to improve code to update reference logical names.

Hi Ryan, Though I do not have any preferred links I can pass along via a quick search this one (though not vetted) link that may be a good starting point to take your code...

View Article

RE: [CONNECT DgnPlatformNet] How do I spell IViewManager::UpdateView in C#?

I thought that ViewGroup.SynchViewDisplay() would be the solution: Tells the host to synchronize the displayed view with the state stored in this ViewGroup.  While that appears to set the view params...

View Article


RE: MicroStation Connect "Item Types" MVBA

[quote user="Mike Longstreet"]Are MicroStation Connect "Item Types" able to be manipulated using MVBA? [/quote]The APIs that handle Item Types are the C++ MicroStationAPI and the .NET DgnPlatformNet....

View Article

MicroStation Connect "Item Types" MVBA

Are MicroStation Connect "Item Types" able to be manipulated using MVBA? I have been digging around and do not see any mention of "Items" in the object browser or the help.  The word Item appears often...

View Article


RE: [CONNECT VBA] Sendkeyin

Thank you for reporting this issue. I have filed Defect 620571 to be considered for inclusion into a future version release. To work-around this behavior as RodWing suggested, please consider using the...

View Article

RE: [CONNECT VBA] Sendkeyin

This issue has been fixed in current WIP builds for update 4.

View Article

RE: [CONNECT VBA] Sendkeyin

Strange that key-in: "place text;sometext" crashed also but after I placed text with normal dialog it worked afterwards. We have textstyles that are attached from dgnlib so it may be related to fact...

View Article
Browsing all 7260 articles
Browse latest View live