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

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 Article


Re: [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 Article


Image may be NSFW.
Clik here to view.

Re: [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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article


Image may be NSFW.
Clik here to view.

Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: [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 Article


dockable 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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article


Re: [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 Article

Re: 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 Article


Re: [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 Article

Image may be NSFW.
Clik here to view.

Re: [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 Article

Re: [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
Browsing all 1677 articles
Browse latest View live


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