TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Anonymous on September 23, 2004, 01:29:56 PM

Title: Tab help
Post by: Anonymous on September 23, 2004, 01:29:56 PM
Does anyone know the sequence for the tabs in paper space?  I want to have a tab to represent a certain space in the drawing to work with text.  Example:
You have a Tab with a certain name.  You want to use Rtext to identify that tab layout block in model space.  Do you now how to do that so each tab is identified for each space in model space?  

I hope that this will help.

Sorry for not being more clearer.  Ok, lets start with a 4 tabs for sheets
in paper space.  Lets say that you name the 4 tabs BFDS, BFDW, CFP01 and
CFP02.

Now take the shape (dwg area in model) of the view port from the tab BFDS
and paste it into model space.

You want that shape (dwg area in model) to match the name of the tab.  So
you name the shape (dwg area in model) BFDS with text.

But I want to have that name of shape (dwg area in model) automatically
change with Rtext.  So when you change that tab BFDS to BFINB.

The shape (dwg area in model) will automatically update to BFINB.

That is my question.

How would you do that with the rest of that tabs BFDW, CFP01 and CFP02?  Is there a sequence diesel code for each tab?
Title: Re: Tab help
Post by: One Shot on September 23, 2004, 01:31:59 PM
Quote from: Anonymous
Does anyone know the sequence for the tabs in paper space?  I want to have a tab to represent a certain space in the drawing to work with text.  Example:
You have a Tab with a certain name.  You want to use Rtext to identify that tab layout block in model space.  Do you now how to do that so each tab is identified for each space in model space?  

I hope that this will help.

Sorry for not being more clearer.  Ok, lets start with a 4 tabs for sheets
in paper space.  Lets say that you name the 4 tabs BFDS, BFDW, CFP01 and
CFP02.

Now take the shape (dwg area in model) of the view port from the tab BFDS
and paste it into model space.

You want that shape (dwg area in model) to match the name of the tab.  So
you name the shape (dwg area in model) BFDS with text.

But I want to have that name of shape (dwg area in model) automatically
change with Rtext.  So when you change that tab BFDS to BFINB.

The shape (dwg area in model) will automatically update to BFINB.

That is my question.

How would you do that with the rest of that tabs BFDW, CFP01 and CFP02?  Is there a sequence diesel code for each tab?


This is from One Shot.  I forgot to log in when I posted it!
Title: Tab help
Post by: Keith™ on September 23, 2004, 01:55:35 PM
Well you could use $(getvar, ctab) to display the name of the current tab. The problem is that diesel (used in RTEXT) is limited to only certain functions.