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 ArticleRe: [V8i C#] Syntax for DLLImport
JensS:[DllImport("stdmdlbltin.dll")]public static extern int mdlSurface_project(out int surfDscrPP, int elDscrP,...
View ArticleRe: 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 ArticleRe: [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 ArticleRe: 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 ArticleRe: [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[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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleVBA 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 ArticleRe: [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 ArticleRe: [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 ArticleRe: 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