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

Re: [v8i VBA] Error in finding last row in Excel using VBA

This is a thread I found on MrExcel.com using Googlehttp://www.mrexcel.com/forum/excel-questions/601318-using-visual-basic-applications-count-number-rows-used-worksheet.htmlAlthough Excel VBA has some...

View Article


Re: Bug caused BY the mdlState_startPrimitive function

HelloI find in the source code a function similar to the mdl_changeDGNFile function but it does not contains all the necessary code in order to free all the variables. I added the some code and it...

View Article


Re: [VBA] Need help with MDL Wrapper Function for...

BumpWe need assistance from a Bentley Colleague!

View Article

Re: [VBA] Need help with MDL Wrapper Function for...

Hi caddcop,what do you want to achieve? For an existing sheet to set existing attached reference to be a new border for this sheet?Regards, Jan

View Article

[V8i C#] IModelChangeEvents

Hello!I have created C# .NET MicroStation Addin. I need to have some things done before model is deleted so I try to use Bentley.Interop.MicrostationDGN.IModelChangeEvents.I have written...

View Article


Re: [V8i C#] IModelChangeEvents

Hi,it's possible to use ModelChangeEventHandler in C#, so the problem is somewhere in your code. But the true is it's useless to analyze why it doesn't work, because as far as I remember, only...

View Article

Re: How to check dimension text height

Hi e.g.,Have you tried mdlDim_getParam (&dimTextParam, &yourDimElement, DIMPARAM_TEXT) ? dimTextParam.height is what you want.HTH, YongAn

View Article

Re: [V8i C#] IModelChangeEvents

Jan,you are right. And there is no problem in my code, I simply did not know that only these two events are passed to .NET API. That's a pity. And I was just concentrating on catching delete event so I...

View Article


Re: How to check dimension text height

Hi YongAn, I think your answer is what I need but I don't know how to call that function. I am pretty new to microstation programming (converted from Autocad), right now I am using mostly the VBA but...

View Article


Drop a LineStringElement to a series of LineElement(s)

Hi all,I have a that has lineStrings in it. I want to convert all the line strings into lineElement(s) corresponding to the constituent lineStringElement segments lengths and positions. I have done it...

View Article

Exporting Named fences and Models to new file

Good day.I have a file that I received from a third party who uses a different seed file to me, and i need to use a particular seed file with it.So I opened a new file, with the proper/desired seed...

View Article

Re: How to check dimension text height

In addition to YongAn's response, MicroStation has a delivered utility known as the StandardsChecker. I am not sure if you are familiar with it or if it simply does not meet your specific needs;...

View Article

Image may be NSFW.
Clik here to view.

Re: MS v8 2004: capturing user actions and VBA subroutines (weird behaviour)

Dear Community,Thanks again for your help.Graeme@ECS:.... I fixed it by compiling the MDL code for the right MicroStation platform.Jon Summers:... Is there a version of the 3rd-party MDL app. built for...

View Article


Re: Drop a LineStringElement to a series of LineElement(s)

    int         numVerts;    DPoint3d    stringPoints[MAX_VERTICES];    MSElement tempElement;    if (SUCCESS != mdlLinear_extract (stringPoints, &numVerts, lsElement, modelRef))        return;...

View Article

Re: MS v8 2004: capturing user actions and VBA subroutines (weird behaviour)

Hi Ingo,without any code snip it is now hard to determine what could cause that behaviour.

View Article


Re: Drop a LineStringElement to a series of LineElement(s)

Hi Brian,I think using vba would be a better way to solve it for a newbie.Hi theGreg,- what about Selection Sets and then using the 7-2 command? Not coding but a clever alternative.- For codung: use...

View Article

Re: Drop a LineStringElement to a series of LineElement(s)

"choose all" followed by "drop string" would work as well...For the Drop Element tool you need to make sure the toggle for Linestrings/Shapes is selected.-B

View Article


Re: Exporting Named fences and Models to new file

Hi theGreg,look up the VBA Help for "Scans the DesignFile Looking for Saved Views" and you will find an example how to scan saved views...I dont know about named fences? Where do i find them?But as...

View Article

Image may be NSFW.
Clik here to view.

Re: [v8i VBA] Error in finding last row in Excel using VBA

Prasanna Katarki:I think this is bit of Excel related question than mvba...Then post your question to a web Forum that deals with Excel VBA.  There are more Excel VBA sites than MicroStation VBA sites...

View Article

Re: [v8i VBA] Error in finding last row in Excel using VBA

Hi,I found this in one of my scripts.   With excel.ActiveSheet.UsedRange       StartRow = .Cells(1).Row       StartCol = .Cells(1).Column       EndRow = .Cells(.Cells.Count).Row       EndCol =...

View Article
Browsing all 1677 articles
Browse latest View live


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