• [CONNECT Update 16 VBA] TextNodeElement.TextLine assignment loses TextElement Symbology

    Jon Summers
    Jon Summers
    As you know, a VBA TextNodeElement is a container of TextElement s. Property TextNodeElement.TextLine lets us get or set the text contained in one of those TextElement s. That property correctly assigns the text in the specified line of the TextNodeElement…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Create Fractions with VBA

    Jon Summers
    Jon Summers
    In response to a question on the Programming Forum I developed a VBA macro to create a numeric fraction . It can, like MicroStation, create any fraction, using any font: it is not restricted to the glyphs available in MicroStation's RSC font libraries…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • [CONNECT .NET] TextElement.Description: too much information!

    Jon Summers
    Jon Summers
    I'm extracting element information from various kinds of element that contain text. I want to describe the element (e.g. Note Element, Text Element, Text Node Element). Element.Description does what I want, except for TextElement . With TextElement…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT .NET] Text Handler Classes

    Jon Summers
    Jon Summers
    The DgnPlatformNet help documents the TextHandlerBase class. It has this note: Base class for text element handlers; should NOT be sub-classed directly (see TextNodeHandler and TextElemHandler) . Unfortunately, neither TextNodeHandler nor TextElemHandler…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [i-model SDK] TextElement PartIds Purpose

    Matthew DeAbreu
    Matthew DeAbreu
    Hello, I've been working on adding i-model reading/writing support to our product and have a quick question about the SDK (v1). On the TextElement and TextNodeElement interface there is the GetTextPartIds which takes a TextQueryOptions as an arguement…
    • Answered
    • over 6 years ago
    • Developers and Programming
    • Developers and Programming Forum
  • building a list from scanned TextNodeElements

    rashil
    rashil
    What is wrong with my code? Sub EE_Example() Dim ee As ElementEnumerator Dim es As New ElementScanCriteria Dim elArray() As Element Dim i As Long Dim iStart As Long Dim iEnd As Long Dim elLevel As Level Dim elVariant() As Variant Dim bigString As…
    • Answered
    • over 10 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • AddTextLine adds an extra line break

    E.Jamster
    E.Jamster
    Hello, I am trying to fill a text node with some text, I always get an extra LF character at the end. Both AddTextLine(s), InsertTextLine(1,s) and TextLine(1)=s always do this for me. The presence of the extra LF does not affect the rendering, but…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 XM Edition VBA Forum
  • TextNodeElement Read Only Property

    Matt Phillips
    Matt Phillips
    This question is spawned off from the http://communities.bentley.com/Products/MicroStation/MicroStation_-_all_pre-V8_versions/f/142/t/38062.aspx question of text ranges and view dependent versus independent. Additionally it may provide a sample to the…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • VBA -> BackgroundFillColor

    randomblink
    randomblink
    Here is my code so far: Public Function add_Blackout() On Error GoTo add_Blackout_Error Dim oEnumerator As ElementEnumerator Set oEnumerator = ActiveModelReference.GetSelectedElements oEnumerator.BuildArrayFromContents oEnumerator…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • Re: Justify a TextNodeElement?

    Cleverbeans
    Cleverbeans
    Well rather then spam my work I'll give a sample. Basic plan was to get the current setttings of the justify dialog box, then change it to correctly justify the text, then change the settings back. From there just send info to the CadInputQueue. I pulled…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • Justify a TextNodeElement?

    Cleverbeans
    Cleverbeans
    Simple question, how do I set the justification of a TextNodeElement? The attribute for the node is read-only (anyone know why?) and justifying each text element inside the node does not produce the desired justification on the entire node. Any assistance…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • Re: Update node text

    Jon Summers
    Jon Summers
    Roberto Cano said: myNode.TextLine(1): A myWS.Cells(FileRow, 4): NODO111 But the error is the same TextNodeElements seem to be troublesome in VBA. Gary Manuel had a similar problem with Text Nodes . Does it make any difference if you copy the…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum
  • TextNodeElement.AnnotationScaleFactor

    Mike Longstreet
    Mike Longstreet
    Is there a way to extract the AnnotationScaleFactor from a TextNodeElement. I have found a method for getting the AnnotationScaleFactor from TextElements and DimensionElements, but TextNodeElements do not seem to directly have a property for AnnotationScaleFactor…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum
  • Edit Data Field VS Fill in signle Enter Data Field

    csariedd
    csariedd
    I managed to write a VBA script that scans a drawing and extracts number of text (either TextElements or TagSet or TextNode) that are enclosed within a unique identifier, and then replaces them (with the text in thier new values ) into another new…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum
  • Get information from 1 cell in a nested cell

    Oscar Carlsson
    Oscar Carlsson
    Hi! I have a cell with 2 cells in it. 1 of these cells have textnodes with textinformation. Now i want to get the origo of the cell (works), the name of the cell (works), and the texts from the textnodes in one of the nested cell (doesn't work…
    • Cellsample.dgn
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum
  • Modify textnode line origin and rotation

    Rod Wing
    Rod Wing
    I've got a vba that worked in 2004 Edition but no longer works in V8i. The code basically replicates MicroStation's Place Text Along command, modifying the origin and rotation of each text line (or character in this case) in a textnode element to fit…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum
  • Re: Update node text

    Jon Summers
    Jon Summers
    Trouble with TextNodeElement Unknown said: If you look at this thread trouble with TextNodeElements , you will find that others have had problems with the TextNodeElement and VBA in the context of a CellElement that contains a TextNodeElement . According…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum
  • Re: How to get and set TextNode element's size and font?

    E.Jamster
    E.Jamster
    Unknown said: A TextNodeElement is not a TextElement . A TextNodeElement is a container of TextElement s. TextElement s have properties concerning appearance and contain the text that you see in graphics. TextNodeElement also has formatting properties…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i VBA Forum