Browse By Tags

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

    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…
  • Create Fractions with VBA

    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…
  • Re: Justify a TextNodeElement?

    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…
  • Justify a TextNodeElement?

    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…
  • Re: Update node text

    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…
  • Get information from 1 cell in a nested cell

    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…
  • Modify textnode line origin and rotation

    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…
  • Re: Update node text

    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…