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

RE: Connect VBA GetTotalTextSize

Upon further review, the method appears to be returning the text height in UORs for both the width and height values.

View Article


RE: Connect VBA GetTotalTextSize

Thanks for the code snippet: we know that we're discussing exactly the same problem.When I run your code with MicroStation V8i it behaves as expected.  The Analyze Element tool confirms the Debug.Print...

View Article


RE: Connect VBA GetTotalTextSize

Thanks for the confirmation. I have logged this with Bentley support.

View Article

Connect VBA GetTotalTextSize

Connect Edition Update 3 - Version 10.03.00.30The GetTotalTextSize method does not return the same value in Connect as it does in SS4. At first I thought that it was returning UOR's, but in Connect it...

View Article

RE: CONNECT Edition FlyThru have a bug to run mvba

(Please visit the site to view this file)

View Article


RE: CONNECT Edition FlyThru have a bug to run mvba

Thanks for providing your VBA project.I took a look at it.  I see nothing wrong with your work.  However, the modal dialog handler has no effect on the Flythru Record Sequence dialog.I cleaned up the...

View Article

RE: [Connect add ins c#] ElementScanCriteria

[quote user="Nenad Poljcic"]I am having trouble using ElementScanCriteria.[/quote]You don't need to use that COM InterOp with CONNECT.  MicroStation CONNECT provides the DgnPlatformNet API that you use...

View Article

RE: CONNECT Edition FlyThru have a bug to run mvba

I am sure CONNECT Edition bug. Thanks.

View Article


CONNECT Edition FlyThru have a bug to run mvba

I use FlyThru to record .mvba file. When I play this file. On  "FLYTHRU RECORD" step can not change directory d:\ and file V001.jpg .   If DialogBoxName = "Record Sequence" Then...

View Article


RE: [V8i VBA] Extracting outer lines

Couldn't you just use boolean operations to create the "new" shape? Just "join" the shapes?

View Article

RE: [Connect add ins c#] ElementScanCriteria

Thank for reply Jon,DgnPlatforNET is correct answer to my problem.However, using DgnPlatformNET means writing a lot of code from scratch and I have more than 100 active projects ( add ins)I am thinking...

View Article

[Connect add ins c#] ElementScanCriteria

Hi,I am having trouble using ElementScanCriteria.code in v8i isusing BCOM = Bentley.Interop.MicroStationDGN; BCOM.ElementScanCriteria sc = new BCOM.ElementScanCriteriaClass(); sc.ExcludeAllTypes();...

View Article

Image may be NSFW.
Clik here to view.

RE: [V8i VBA] Extracting outer lines

[quote user="Bruce Reeves SRNS"]Couldn't you just use boolean operations to create the "new" shape? [/quote]I think you're on the right track.  VBA for MicroStation V8i has boolean operations on...

View Article


Image may be NSFW.
Clik here to view.

[V8i VBA] Extracting outer lines

Hello allI am trying to write a macro that will give me the outermost lines of multiple shapes.For example I would like it to be able to turn this:Into this:The solution we have at the moment is to...

View Article

Image may be NSFW.
Clik here to view.

RE: [MVBA V8i] How to know if element is in attachment

Please follow the MicroStation Programming forum best practices.Code Syntax HighlightingWhen you post code, use the Forum advanced editor's syntax highlighting tool. That's the icon that resembles a...

View Article


RE: [MVBA V8i] How to know if element is in attachment

Sub test1() Dim myCIQ As CadInputQueue Dim myCIM As CadInputMessage Set myCIQ = CadInputQueue Set myCIM = myCIQ.GetInput Dim MyElement As Element Set MyElement = CommandState.LocateElement(myCIM.point,...

View Article

RE: [MVBA V8i] How to know if element is in attachment

Hi Changsong, if you need to locate an element, I recommend to use ILocateCommandEvent object instead of CadInputQueue. It allows much better control of the element location process. Comparing to it...

View Article


RE: [MVBA V8i] How to know if element is in attachment

Sample code right now. I will consider it when update the code. Thanks a lot!

View Article

[MVBA V8i] How to know if element is in attachment

Hello All,Assuming I get an element by CommandState.LocateElement, I'd like to know if this element is from attachment. I tried myelement.ModelReference.IsAttachment or myelement.IsFromAttachment, but...

View Article

RE: Microstation V8i - is it possible to OpenDesignFileForProgram and print?

[quote user="quasi_modo"]Is it possible to open some .dgn-files using the command "OpenDesignFileForProgram" and print them?[/quote]Prefer to use OpenDesignFile.  You want the model to look exactly as...

View Article
Browsing all 7260 articles
Browse latest View live
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>