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 ArticleRE: 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 ArticleRE: 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 ArticleRE: 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 ArticleMicroStation 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 ArticleRE: [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 ArticleRE: [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 ArticleRE: [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 ArticleRE: [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 ArticleRE: 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 ArticleRE: 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 ArticlescadSDK_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 ArticleRE: 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 ArticleRE: 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 ArticleRE: [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 ArticleRE: [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 ArticleRE: 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 ArticleRE: [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 ArticleRE: 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