Re: Select all elements with handles Microstation V8i
Hi Jon,I am using mdlAccuSnap_enableLocate(TRUE); mdlAccuSnap_enableSnap(TRUE);Functions in dynamic display(capturing element) function Working fine.Problem is i want to 2D(active z value...
View ArticleRe: [VBA] Need help with MDL Wrapper Function for...
Hi Jon,I have a mistyping. I want to typeUsing declaration ByRef borderAttachmentId As DLong is ok for mdlSheetDef_getBorderAttachmentId because its second parameter's C declaration is ElementID * (a...
View ArticleRe: [VBA] Need help with MDL Wrapper Function for...
Yongan.Fu:ElementID is not a structure, it is just a base type __int64Correct — but only for MDL and C++, which support the __int64 data type. Microsoft invented VBA before 64-bit processors existed...
View ArticleRe: Select all elements with handles Microstation V8i
Daniel Christopher:i want to 2D(active z value must assign to the vertex not elements z value) snap the vertexIt's not exactly clear what you want to do. But a user can snap only to a vertex, not some...
View ArticleRe: Select all elements with handles Microstation V8i
mdlLocate_findElement(DirptP,view,FALSE,NULL,TRUE);Is the best function for finding the element and placing the point on it with active z but using this function we are getting display problem in...
View ArticleRe: De-compile old MS Basic file with NO bas file
If you just have the .BA, there is no way to generate the original .BAS from that. What Jon suggests is really the most practical (and recommended) way to go.
View ArticleRe: Select all elements with handles Microstation V8i
Couldn't that be solved with setting the appropriate ACS lock and eventually providing a customized ACS for the time that the function runs ?The stereo display problems are (at least imho) not really...
View ArticleRe: Select all elements with handles Microstation V8i
Daniel Christopher:Buffer element is not clearing from the screen ...That's a different question. Please stick to your original topic.
View ArticleRe: Select all elements with handles Microstation V8i
Daniel Christopher:mdlLocate_findElement(DirptP,view,FALSE,NULL,TRUE)The last three parameters are BoolInts. NULL is not a BoolInt.I find it useful to create an enum to provide named aliases for...
View ArticleRe: De-compile old MS Basic file with NO bas file
1. what would happen if you tried to record vba when it runs basic .ba file?2. you can some times if not protected open the ba in notepad and sort of get an idea of what it does but not easy...3....
View ArticleRe: De-compile old MS Basic file with NO bas file
LorysI tried a number the things from above without success. I am new to this company and trying to clean-up some old stuff to get ready for the move to V8i(ss3) from V8 2004. Nobody in the office...
View Article[v8i MC] mdlRefFile_beginAttachmentToModel default attachment scale setting
I am using mdlRefFile_beginAttachmentToModel and it is attaching my reference at 100:1 scale. When I interactively attach a reference it defaults to 1:1 (which is what I desire). How do I set the...
View ArticleRe: [v8i MC] mdlRefFile_beginAttachmentToModel default attachment scale setting
I suppose that the reference scale is automatically set, if a annotation scale is set in the drawing. Are you sure you've tested with the same file+model, when manually attaching ? Otherwise a call to...
View Articledockable form question
Hi, I am trying to learn how to create addins in C# and so far I've been able to create a dockable form. The question I have is: how can I have only one instance? Because if I run the keyin command...
View ArticleRe: De-compile old MS Basic file with NO bas file
smwoodx:Nobody in the office has a clue what the macros is for or what it doesWell, I can write a VBA macro that implements that requirement 8-)See attachment. MicroStation key-in:vba run...
View ArticleRe: [v8i MC] mdlRefFile_beginAttachmentToModel default attachment scale setting
I have been playing with mdlRefFile_setParameters since I posted this with no joy (I can change description but not scale). Also the help I have has no example for mdlRefFile_beginAttachment. Could...
View ArticleRe: VBA to Load Key-in Command
There's a non-programming way to do this as well. If MicroStation's Input Focus is "Home" hitting the Enter key will activate the Key-in Window. A new Key-in window will appear with the active cursor...
View ArticleRe: [v8i MC] mdlRefFile_beginAttachmentToModel default attachment scale setting
I have now found the keyin "model set annotationscale 1" which indeed does effect the master to ref scale with the mdlRefFile_beginAttachmentToModel function . Thanks Michael for pointing me in the...
View ArticleRe: [v8i MC] mdlRefFile_beginAttachmentToModel default attachment scale setting
Loren:Additionally how would one set the annotation scale?That's a new question. Let's attempt to solve the attachment scale first, since that is the topic of this thread.Loren:The help I have has no...
View ArticleRe: [v8i MC] mdlRefFile_beginAttachmentToModel default attachment scale setting
In addition to Jon's code I would use the debugger and this loop to see what the scale is so that I am sure that I am changing the correct values.Public void CheckRefFileScale (char* unparsedP){...
View Article