It there a keyin I can use to select Notes?

I can use PowerSelector keyins to almost create a selection of all text elements. Text, text nodes and dimensions are available. However, notes are not available so I cant select notes text as well. Is there any other keyin or macro that might be available to also select notes, or to select all text elements?

Parents
  • MDL SILENTLOAD SELECTBY DIALOG
    DIALOG SELECTBY
    SELECTBY MODE EXCLUSIVE
    SELECTBY OPTIONS SELECTION
    SELECTBY ON
    SELECTBY TYPE NONE
    SELECTBY TYPE ARC
    SELECTBY TYPE BSPLINE
    SELECTBY TYPE BSPLINESURFACE
    SELECTBY TYPE CELL
    SELECTBY TYPE COMPLEXSHAPE
    SELECTBY TYPE COMPLEXSTRING
    SELECTBY TYPE CONE
    SELECTBY TYPE CURVE
    SELECTBY TYPE ELLIPSE
    SELECTBY TYPE LINE
    SELECTBY TYPE LINESTRING
    SELECTBY TYPE MESH
    SELECTBY TYPE MULTILINE
    SELECTBY TYPE RASTER
    SELECTBY TYPE RASTERATTACHMENT
    SELECTBY TYPE SHAPE
    SELECTBY TYPE SHAREDCELL
    SELECTBY TYPE SOLID
    SELECTBY TYPE SURFACE
    SELECTBY EXECUTE
    MDL UNLOAD SELECTBY

    ...I thought maybe I could use the "Exclusive" mode SelectBy Attributes and then I discovered that Notes are selected as cells.

Reply
  • MDL SILENTLOAD SELECTBY DIALOG
    DIALOG SELECTBY
    SELECTBY MODE EXCLUSIVE
    SELECTBY OPTIONS SELECTION
    SELECTBY ON
    SELECTBY TYPE NONE
    SELECTBY TYPE ARC
    SELECTBY TYPE BSPLINE
    SELECTBY TYPE BSPLINESURFACE
    SELECTBY TYPE CELL
    SELECTBY TYPE COMPLEXSHAPE
    SELECTBY TYPE COMPLEXSTRING
    SELECTBY TYPE CONE
    SELECTBY TYPE CURVE
    SELECTBY TYPE ELLIPSE
    SELECTBY TYPE LINE
    SELECTBY TYPE LINESTRING
    SELECTBY TYPE MESH
    SELECTBY TYPE MULTILINE
    SELECTBY TYPE RASTER
    SELECTBY TYPE RASTERATTACHMENT
    SELECTBY TYPE SHAPE
    SELECTBY TYPE SHAREDCELL
    SELECTBY TYPE SOLID
    SELECTBY TYPE SURFACE
    SELECTBY EXECUTE
    MDL UNLOAD SELECTBY

    ...I thought maybe I could use the "Exclusive" mode SelectBy Attributes and then I discovered that Notes are selected as cells.

Children
  • Grouped Holes are also treated as cells when using Select By Attriutes. Which sucks like a tornado.

    Ivo Blaauw
    = = = = = = = = = = = = =
    Look what the CAD dragged in...

  • Unknown said:
    Grouped Holes are also treated as cells

    That's because a Grouped Hole is a cell, albeit an anonymous cell.  But coders can distinguish a Grouped Hole from other elements, so it's reasonable to expect that Select By could do the same.

    Why not post that suggestion to the Ideas Forum?

    Unknown said:
    Is there any other keyin or macro that might be available to also select Notes

    Why not post that also to the Ideas Forum?

     
    Regards, Jon Summers
    LA Solutions

  • This is a suggested work around for  future work flow, create a dim style and text style specifically for notes and  define in these a  specific named level reserved only  for  notes then you can always select by the  level name...I havent had a chance to test his if it  works all the time  but it seems logical approach... Meanwhile for your present senario I think a custom VBA might be the  only way.... there may  also be a way to create the  selection by item type selection query... I'll have to go consult my  notes and do some tests.. .I will get back to you if it pans out...

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

  • Jovan, hello!

    I am trying to get more clarity on the use of the key-in, as I am stuck with couple roadblocks trying to select particular textnode with particular text in there ( yes, it gets very narrow in my case, as I need to select only one of several texnodes, ont the same level, with the same text formatting and color etc.)

    so, my command currently is the following:

    MDL LOAD SELECTBY

    SELECTBY MODE INCLUSIVE

    SELECTBY OPTIONS SELECTION

    SELECTBY ON

    SELECTBY LEVEL NONE

    SELECTBY LEVEL G-ANNO-TITL

    SELECTBY TYPE TEXTNODE

    SELECTBY EXECUTE

    currently I am stuck with the level selection, as it does not select specific level;

    another issue I am having is selection of the text with the wildcard ( I need all the drawings of AXXX series, so text wildcard would look like "A*"

    Thank you !