Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Tblsearch for block in current viewport
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Tblsearch for block in current viewport (Read 1752 times)
0 Members and 1 Guest are viewing this topic.
Willie
Swamp Rat
Posts: 958
Going nowhere slowly
Tblsearch for block in current viewport
«
on:
August 16, 2007, 03:09:58 AM »
Hi,
Is there a way to table search for 'n block only in the current viewport?
I have got : (if (= (tblsearch "block" "BKS-A0-Side" ) nil) and it returns that there is allready a block inserted into the drawing.
Willie
Logged
Soli Deo Gloria | Qui Audet Adipiscitur
Windows 8 64-bit Enterprise | Civil 3D 2015 and 2016| ArcGIS 10.1
Yogi Berra : "I'd give my right arm to be ambidextrous."
Kerry
Mesozoic relic
Seagull
Posts: 11654
class keyThumper<T>:ILazy<T>
Re: Tblsearch for block in current viewport
«
Reply #1 on:
August 16, 2007, 05:09:32 AM »
TblSearch on the BLOCKS Table reports the blocks available for use.
An INSERT is an instance of a block actually used (inserted) into either Modelspace or Paperspace.
You can SELECT the inserted blocks using either entity selection or by creating a selection set possibly filtered for specific parameters.
Will that make it easier to determine ?
Logged
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.
Willie
Swamp Rat
Posts: 958
Going nowhere slowly
Re: Tblsearch for block in current viewport
«
Reply #2 on:
August 16, 2007, 09:11:58 AM »
Hi Kerry,
I think the way to go is (a) Create a selection set and (b) filter the selection set. Thanks for pointing me in the right direction.
Willie
Logged
Soli Deo Gloria | Qui Audet Adipiscitur
Windows 8 64-bit Enterprise | Civil 3D 2015 and 2016| ArcGIS 10.1
Yogi Berra : "I'd give my right arm to be ambidextrous."
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Tblsearch for block in current viewport