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

RE: scadSDK_cogoGetHorizontalAlignments

Jason,You need to pre-dimension an array of Longs of the correct size to hold the list returned from the scadSDK_cogoGetHorizontalAlignments. You then feed the first element of the array to the...

View Article


RE: scadSDK_cogoGetHorizontalAlignments

Whoops, guess I don't know how to use the syntaxhighliter...Dim lAlignCount as LongDim lProjectID as LongDim lHorizAlignIDs() as LonglAlignCount = scadSDK_cogoCountNumberOfHorizontals(ProjectID)ReDim...

View Article


RE: scadSDK_cogoGetHorizontalAlignments

It's one of those days...Dim lAlignCount as Long Dim lProjectID as Long Dim lHorizAlignIDs() as Long 'Array of Longs 'Get number of horizontal alignments for a given project lAlignCount =...

View Article

RE: MicroStation VBA

[quote user="Mark Kovach-WGI"]I'm still new to MicroStation VBA as there are sooooooooooooooooooooooooooooooooooooooooooooooooooooo many commands to learn. Can someone point me in a direction on how to...

View Article

MicroStation VBA

I'm still new to MicroStation VBA as there are sooooooooooooooooooooooooooooooooooooooooooooooooooooo many commands to learn. Can someone point me in a direction on how to create a mvba to delete cells...

View Article


RE: [V8i] Command for C#/VB.NET: import CAD file + file path as parameter

Thank you all for the fast replies.@ Jan: Our template file includes all settings (border file, color table, tag values...) specified and provided by the customer. We export lots of DGN files from our...

View Article

RE: [V8i] Command for C#/VB.NET: import CAD file + file path as parameter

[quote user="Marc Henseleit"]It would be helpful if someone could post some code that copies elements from a dgn file (saved locally and closed) into an already opened dgn template file. We are not...

View Article

RE: [V8i] Command for C#/VB.NET: import CAD file + file path as parameter

Hi Marc,thanks for providing more details.[quote user="Marc Henseleit"]then we (try to) import all elements into the template file[/quote]There is a small terminology problem that can lead to some...

View Article


RE: [V8i VBA] B-Spline Curve Methods broken?

Can someone at Bentley System confirm or deny that BSplineCurve.EvaluatePointTangent is broken?If it works, please show us the correct usage.

View Article


[V8i VBA] B-Spline Curve Methods broken?

I'm attempting to use BSplineCurve.EvaluatePointTangent.  It seems to yield incorrect results. I want to find curve parameters at a point on a B-Spline curve.  EvaluatePointTangent computes a point in...

View Article

RE: scadSDK_cogoGetHorizontalAlignments

Brett, Thanks for the help. I have struggled with DLL calls for InRoads. Every time I use a new one, there seems to be a new quirk i need to figure out. I would have never thought I needed to pass the...

View Article

Image may be NSFW.
Clik here to view.

RE: scadSDK_cogoGetHorizontalAlignments

Code Syntax Highlighting[quote user="BOlson"] I don't know how to use the syntaxhighliter[/quote]When you post code, use the Forum advanced editor's syntax highlighting tool. That's the icon that...

View Article

scadSDK_cogoGetHorizontalAlignments

Good Afternoon,I have been fiddling with some alignment commands in the Inroads SS2 SDK and have had some trouble getting a list of alignment pointers from the scadSDK_cogoGetHorizontalAlignments.  I...

View Article


Image may be NSFW.
Clik here to view.

RE: Modify Reference Presentation Values with VBA?

Hey Jon,Good idea. I tried it; however, it did not reveal any extended information. But, it did send me back to the Microstation help docs where I found this:Thanks for the help,Rick

View Article

RE: How to get handle or instance on two different Design Files using C#

I have used the following code to get handle on different design files. Bentley.Interop.MicroStationDGN.Application app; try { app =...

View Article


RE: [V8i] Command for C#/VB.NET: import CAD file + file path as parameter

Now at this point I have the same misunderstanding as many other users: I have problems to merge the reference file into the master file. I already found some hints to use "REFERENCE MERGE" etc.4. is...

View Article

Image may be NSFW.
Clik here to view.

RE: [V8i] Command for C#/VB.NET: import CAD file + file path as parameter

[quote user="Marc Henseleit"]At this point I have the same misunderstanding...[/quote]Open the References dialog MicroStation menu File|ReferencesYou can see a list of your reference attachmentsIn that...

View Article


RE: scadSDK_cogoGetHorizontalAlignments

Agreed, I tried the syntax highlighting tool to begin with. I used the VB option, but I guess it may not be supported. So I used the XML option in my subsequent post.

View Article

RE: [V8i] Command for C#/VB.NET: import CAD file + file path as parameter

CadInputQueue.SendCommand("REFERENCE MERGE;SELVIEW 1") was the command that I need, thank you.Maybe the last uncertainty:Now both references are merged into the master file(because both are selected...

View Article

RE: How to get handle or instance on two different Design Files using C#

Hi Pavan Kumar,in my opinion you are trying to use GetActiveObject in a way that is in conflict with its specification. The quesion is not specific for MicroStation, but general for any OLE Automatiion...

View Article
Browsing all 7260 articles
Browse latest View live


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