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

RE: VBA multiline note text

[quote user="Darin Rodberg"]VBA multiline note text[/quote]MicroStation isn't a word-processor and doesn't understand multi-line text.  What you see when you use the word-processor for text input with...

View Article


RE: VBA multiline note text

I can't just use text nodes; for standards reasons I need to use a note. If I could predict the final location of the text part of the note, I would just fake it by drawing the leader and a text node,...

View Article


RE: VBA multiline note text

[quote user="Darin Rodberg"]I can't just use text nodes; for standards reasons I need to use a note[/quote]I understand your quandary.  How about the PrimaryText segment no. parameter?  Does that do...

View Article

RE: VBA multiline note text

Nope, just an index out of bounds error on the second one. Days like today (and every day I code VBA for MS, to be honest) I yearn for the 'good ole days' of AutoCAD and AutoLISP. (command "qleader"...

View Article

VBA multiline note text

Hi all. I'm having some trouble with a script I'm writing in VBA for MS V8i SS3. I'm trying to insert a note without the word processor window opening, as this is part of a loop that runs a few dozen...

View Article


RE: [V8i VBA] RevolveProfile

[quote user="Jan Slegr"]Hi,Can you try to start with completely new design file created using default MicroStation 3D seed file?[/quote]The difference is the unit. I changed from m to mm, and then it...

View Article

RE: [V8i VBA] RevolveProfile

Hi,[quote user="clever_anthony"]I changed from m to mm, and then it goes wrong, but it doesn't happen with Capsurface method, very strange.....[/quote]I agree, I did not expect the units can cause this...

View Article

RE: [V8i VBA] RevolveProfile

[quote user="Jan Slegr"]I did not expect the units can cause this[/quote]Unexpected!  That certainly violates the principle of least astonishment.

View Article


RE: VBA multiline note text

[quote user="Darin Rodberg"]The Chr(13) character does manage to insert a line break, but it requires me to edit the text and give it a datapoint without changing anything in order to work[/quote]Can...

View Article


RE: v8i VBA AECOsim SS5 - Export to IFC

Hi Jon, Thanks for replying. I'm actually working in MicroStation anyway but the FBX export problem still arises as the VBA is the same. I'd agree that not all that many people use VBA but it is still...

View Article

RE: v8i VBA AECOsim SS5 - Export to IFC

[quote user="Neil MacPherson"] The software is so vast that there must be many things that don't crop up for years[/quote]Exactly true!I've recorded a similar macro for FBX export and made some minor...

View Article

RE: v8i VBA AECOsim SS5 - Export to IFC

Thanks for that Jon, really very much appreciated. I shall test it and see how I get on. I did also get a very speedy response from Select Support which just added one line to the recorded macro:...

View Article

Image may be NSFW.
Clik here to view.

RE: VBA multiline note text

Here's a .dgn file, with the note placed but not 'fixed'. I've also attached an image illustrating the change. Frame 1 is right after the vba runs, Frame 2 is entering the text editor, and frame three...

View Article


RE: VBA multiline note text

[quote user="Darin Rodberg"]Here's a .dgn file[/quote]Thanks for the example.  I can reproduce what you describe exactly. Unfortunately, the Analyze Element tools don't reveal the interior structure of...

View Article

RE: VBA multiline note text

[quote user="Jon Summers"]the data revealed by Analyze Element is the same afterwards as before[/quote]They are not: At the beginning there are 2 linkages, after the note is changed to multiline...

View Article


RE: VBA multiline note text

Yeah, I had a feeling it would turn out that way. The VBA interface of MS is pretty arbitrary, so I've been working on trying to stabilize the method of doing it with keyins. I really do appreciate the...

View Article

RE: v8i VBA AECOsim SS5 - Export to IFC

Hi John,Although I do not see that you have fully resolved your issue in this thread, an alternate way to perform IFC EXPORT can be accomplished using MicroStation key-in commands that could be used...

View Article


RE: [MVBA] What's the unit of text height

Hi Changsong, in VBA units are (I think always) master units of an active file. With regards, Jan

View Article

RE: [MVBA] What's the unit of text height

Thanks for reply. In my drawing, both master unit and sub unit are same, mm. It doesn't bother me. But I don't know why the height will be 0.05 sometimes. Is there any variable to control scale of text...

View Article

RE: Is there an easy way to find out what mvba file contains a macro?

Hi Rod,in my opinion there is no easy way. To load all mvba files one by one and to create a list of available subs manually is probably the most straightforward.Alternatively it's possible to write...

View Article
Browsing all 7260 articles
Browse latest View live


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