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

Re: bug in mdlString_parseIntoArgcArgv

I think you could call stripSpace on the string before you pass it to mdlString_parseIntoArgcArgv. That function is prototyped in stringop.h. I think that is included with the SDK.Barry

View Article


[V8i C#] Syntax for DLLImport

I have some Problems in declaring the DllImport in C#. The below example crashes with "attempting to read/write protected Memory ..." [DllImport("stdmdlbltin.dll")]public static extern int...

View Article


Image may be NSFW.
Clik here to view.

Re: [V8i C#] Syntax for DLLImport

JensS:[DllImport("stdmdlbltin.dll")]public static extern int mdlSurface_project(out int surfDscrPP,                                                                    int elDscrP,...

View Article

Image may be NSFW.
Clik here to view.

Re: mke error (toolsubs.dlo)

dsm:lmlib.mo file in object directory ie., created in path of mypath var D:/work/jk)Your code compiles OK, so the header files provide valid prototypes of your lmXxxx functionsThe linker doesn't...

View Article

Re: Dynamic Display of Elements

Thanks for each person.

View Article


Re: [V8i C#] Syntax for DLLImport

Thanks,But it crashes againThat is from the Debugger************** Exception Text **************System.AccessViolationException: Attempted to read or write protected memory. This is often an indication...

View Article

Re: bug in mdlString_parseIntoArgcArgv

Yes, now when I know about problem it is easy to solve, but I think it should be solved on API level, because anything else is just a workaround of the bug in this MDL function. Or at least it should...

View Article

Re: [V8i C#] Syntax for DLLImport

Correct C# declaration is as follows:[DllImport("stdmdlbltin.dll")]public static extern int mdlSurface_project(ref int surfDscrPP, int elDscrP, ref BIM.Point3d point1, ref BIM.Point3d point2, ref...

View Article


Re: [V8i C#] Syntax for DLLImport

Thanks to both of you.Now it works

View Article


Image may be NSFW.
Clik here to view.

[V7 to V8i] Changing A Line property from an object(Grouped Lines)

Hi,Can anyone give me an idea on how to achieve the scenario below?The lines in light green are my target. I want the middle line to become a centerline and color is yellow. I want to do this for all...

View Article

Re: [V8i VBA] Moving a reference

Hi MercerJon,I am also confused with what you expected to implement. With the below code, I can move my reference files even they had been moved.Sub MoveRefs()  Dim distance As Point3d  Dim myRef As...

View Article

Re: [V7 to V8i] Changing A Line property from an object(Grouped Lines)

Hi RJ,Are your centerline and two side lines in a cell or a graphic group ? Uploading a sample DGN is appreciated.YongAn

View Article

Re: [V7 to V8i] Changing A Line property from an object(Grouped Lines)

Centerline is in a graphic group together with two side lines. Drawing is in 3D wireframe.Please see attachment. Thanks.RJ 

View Article


Re: [2004 MDL] Element Type count

If the size of the dgn is small, select all elements by mdlSelect_allElements () and get the count by mdlSelect_numSelected ()

View Article

Re: [2004 MDL] Element Type count

thanks sivag75. but my file is 70+ MB size.

View Article


VBA wont load - Microsoft Office 2013 compatibility problem?

Hi,I have a brand new machine here that won't load any vba projects.Vba projects that are defined to autoload don't and manually loading the mvba project results in this error:VBA interface error:...

View Article

Re: [V7 to V8i] Changing A Line property from an object(Grouped Lines)

In your other thread on the MicroStation Forum, you've marked Lorys' response as an answer to your question.Does that answer also satisfy this thread?  Are you still looking for an answer here?

View Article


[V8i mdl] problem with comparing date

Hello,I need to compare dates of two files. For example, test.dgn and 2434-15-54.2.dgn. If 2434-15-54.2.dgn was updated after test.dng I need to load data from this.Code use pure MDL.char *stringP =...

View Article

Re: [V7 to V8i] Changing A Line property from an object(Grouped Lines)

Jon,No. that was for my other question. I still have to try Lory's current advice if can solve my main problem which is the centerline item without manually doing it.Thanks,RJ

View Article

Image may be NSFW.
Clik here to view.

Re: VBA wont load - Microsoft Office 2013 compatibility problem?

hUbS:MS_VBALCID = 3084 or MS_VBALCID = 1033If you're a US English speaker then thoselocale IDs should make no difference: you're probably already using locale ID 1033, and you probably don't want a...

View Article
Browsing all 1677 articles
Browse latest View live


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