Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What's the difference between sysvars: Base and Insbase

10 REPLIES 10
Reply
Message 1 of 11
Anonymous
2242 Views, 10 Replies

What's the difference between sysvars: Base and Insbase

Hello,

Can someone please clarify the difference between system variables Base and
Insbase.

I'm going to run a script on a batch of drawing and change the Insbase
and/or Base variable to 0,0,0. I understand that Base sets the insertion
base point for the current drawing. But what's confusing is that Insbase
seems to do the same thing. Or is there some difference?

Thanks,
Steve Doman
10 REPLIES 10
Message 2 of 11
Anonymous
in reply to: Anonymous

hi Steve,

base is a command
and insbase is a system variable

"Steve Doman" <_nospam_sdoman@yahoo.com> wrote in message
news:B18EA40C7BC754DCCEE6D61A905FFC8B@in.WebX.maYIadrTaRb...
> Hello,
>
> Can someone please clarify the difference between system variables Base
and
> Insbase.
>
> I'm going to run a script on a batch of drawing and change the Insbase
> and/or Base variable to 0,0,0. I understand that Base sets the
insertion
> base point for the current drawing. But what's confusing is that Insbase
> seems to do the same thing. Or is there some difference?
>
> Thanks,
> Steve Doman
>
>
>
Message 3 of 11
Anonymous
in reply to: Anonymous

When a block is created a values is assigned where you selected to be the
base point of insertion "INSBASE" for that block when it gets written and
saved. When you 'wblock' that block out, then access that block, it will
show what you used as it's INSERTION BASEPOINT.
--
Rudy@Cadentity.com
AUTODESK
Authorized Developer
www.Cadentity.com
MASi



"Steve Doman" <_nospam_sdoman@yahoo.com> wrote in message
news:B18EA40C7BC754DCCEE6D61A905FFC8B@in.WebX.maYIadrTaRb...
> Hello,
>
> Can someone please clarify the difference between system variables Base
and
> Insbase.
>
> I'm going to run a script on a batch of drawing and change the Insbase
> and/or Base variable to 0,0,0. I understand that Base sets the
insertion
> base point for the current drawing. But what's confusing is that Insbase
> seems to do the same thing. Or is there some difference?
>
> Thanks,
> Steve Doman
>
>
>
Message 4 of 11
Anonymous
in reply to: Anonymous

Thanks Luis!

I didn't notice that one was a command and the other a variable. So the
Base command is just a command that essentially sets the sys var Inbase.

Thanks for the clarification.

Regards,
Steve Doman



"Luis Esquivel" <> wrote in message
news:CEAB6DDAACC1FD2512AF82202C442781@in.WebX.maYIadrTaRb...
> hi Steve,
>
> base is a command
> and insbase is a system variable
>
> "Steve Doman" <_nospam_sdoman@yahoo.com> wrote in message
> news:B18EA40C7BC754DCCEE6D61A905FFC8B@in.WebX.maYIadrTaRb...
> > Hello,
> >
> > Can someone please clarify the difference between system variables Base
> and
> > Insbase.
> >
> > I'm going to run a script on a batch of drawing and change the Insbase
> > and/or Base variable to 0,0,0. I understand that Base sets the
> insertion
> > base point for the current drawing. But what's confusing is that
Insbase
> > seems to do the same thing. Or is there some difference?
> >
> > Thanks,
> > Steve Doman
> >
> >
> >
>
>
Message 5 of 11
Anonymous
in reply to: Anonymous

Thanks Rudy.

I knew about that but was confused by what the difference between Base and
Inbase, which Luis clarified.

Thanks for the help.

Regards,
Steve Doman



"Rudy Tovar" wrote in message
news:604B98A9D3206AF88733EB7FAEC2F3F9@in.WebX.maYIadrTaRb...
> When a block is created a values is assigned where you selected to be the
> base point of insertion "INSBASE" for that block when it gets written and
> saved. When you 'wblock' that block out, then access that block, it will
> show what you used as it's INSERTION BASEPOINT.
> --
> Rudy@Cadentity.com
> AUTODESK
> Authorized Developer
> www.Cadentity.com
> MASi
>
>
>
> "Steve Doman" <_nospam_sdoman@yahoo.com> wrote in message
> news:B18EA40C7BC754DCCEE6D61A905FFC8B@in.WebX.maYIadrTaRb...
> > Hello,
> >
> > Can someone please clarify the difference between system variables Base
> and
> > Insbase.
> >
> > I'm going to run a script on a batch of drawing and change the Insbase
> > and/or Base variable to 0,0,0. I understand that Base sets the
> insertion
> > base point for the current drawing. But what's confusing is that
Insbase
> > seems to do the same thing. Or is there some difference?
> >
> > Thanks,
> > Steve Doman
> >
> >
> >
>
>
Message 6 of 11
Anonymous
in reply to: Anonymous

asi es maestro, de nada.


> Thanks for the clarification.
>
> Regards,
> Steve Doman
Message 7 of 11
Anonymous
in reply to: Anonymous

Yes, and no.

You need to be very careful modifying InsBase directly if UCS's are
involved. The Base command takes an active UCS into account, but directly
setting InsBase can result in odd behavior of blocks inserted later.

See this thread for more info: http://tinyurl.com/wi3j

--
R. Robert Bell, MCSE
www.AcadX.com


"Steve Doman" <_nospam_sdoman@yahoo.com> wrote in message
news:810A09CB580FBB42C5BE2B25AC37D846@in.WebX.maYIadrTaRb...
| Thanks Luis!
|
| I didn't notice that one was a command and the other a variable. So the
| Base command is just a command that essentially sets the sys var Inbase.
|
| Thanks for the clarification.
|
| Regards,
| Steve Doman
|
|
|
| "Luis Esquivel" <> wrote in message
| news:CEAB6DDAACC1FD2512AF82202C442781@in.WebX.maYIadrTaRb...
| > hi Steve,
| >
| > base is a command
| > and insbase is a system variable
| >
| > "Steve Doman" <_nospam_sdoman@yahoo.com> wrote in message
| > news:B18EA40C7BC754DCCEE6D61A905FFC8B@in.WebX.maYIadrTaRb...
| > > Hello,
| > >
| > > Can someone please clarify the difference between system variables
Base
| > and
| > > Insbase.
| > >
| > > I'm going to run a script on a batch of drawing and change the
Insbase
| > > and/or Base variable to 0,0,0. I understand that Base sets the
| > insertion
| > > base point for the current drawing. But what's confusing is that
| Insbase
| > > seems to do the same thing. Or is there some difference?
| > >
| > > Thanks,
| > > Steve Doman
| > >
| > >
| > >
| >
| >
|
|
Message 8 of 11
Anonymous
in reply to: Anonymous

Thanks Robert,

After reading the post from the tinyurl link you posted, I see that another
difference between Base and Insbase is that the Base coordinate is
translated to the current UCS, but Insbase is not adjusted.

Thanks a billion for pointing that out.

Regards,
Steve Doman



"R. Robert Bell" wrote in message
news:E0C0B23F16ABA05865405A5B7EB26C66@in.WebX.maYIadrTaRb...
> Yes, and no.
>
> You need to be very careful modifying InsBase directly if UCS's are
> involved. The Base command takes an active UCS into account, but directly
> setting InsBase can result in odd behavior of blocks inserted later.
>
> See this thread for more info: http://tinyurl.com/wi3j
>
> --
> R. Robert Bell, MCSE
> www.AcadX.com
>
>
Message 9 of 11
Anonymous
in reply to: Anonymous

"Rudy Tovar" wrote in message
news:604B98A9D3206AF88733EB7FAEC2F3F9@in.WebX.maYIadrTaRb...
> When a block is created a values is assigned where you selected to be the
> base point of insertion "INSBASE" for that block when it gets written and
> saved. When you 'wblock' that block out, then access that block, it will
> show what you used as it's INSERTION BASEPOINT.

I still don't understand why, when you pick a non 0,0,0 poit as the
insertion point when WBlocking, that point couldn't be at 0,0,0 in the
resulting drawing. Things then insert as intended, and you don't have entire
drawing sets getting screwed up when insbase changes. I think insbase was
just a kludge from way back when that never got handled properly and still
causes grief.

Best,
Gordon
Message 10 of 11
Anonymous
in reply to: Anonymous

Gordon,

I've often wondered about that too. I see that Insbase/Base would be useful
with Xrefs. But other then that, I can't think of a good reason to have
Insbase set at anything but 0,0,0. It's confusing.

Sure wish the Wblock command would take the selection set and pick point,
and create a new drawing were the picked point is translated to the WCS
origin, and the selection set is copied to the same relative location from
the new WCS origin as it was from the picked point in the parent drawing.

I keep thinking one of these days I'll write a wrapper routine around the
Wblock command that does that, it would be easy I think, but am always busy
frying bigger fish.

Regards,
Steve Doman



"Gordon Price" wrote in message
news:0B2463F445A276099891CD7A8E24D3B3@in.WebX.maYIadrTaRb...
>
> I still don't understand why, when you pick a non 0,0,0 poit as the
> insertion point when WBlocking, that point couldn't be at 0,0,0 in the
> resulting drawing. Things then insert as intended, and you don't have
entire
> drawing sets getting screwed up when insbase changes. I think insbase was
> just a kludge from way back when that never got handled properly and still
> causes grief.
>
> Best,
> Gordon
>
>
Message 11 of 11
Anonymous
in reply to: Anonymous

HTH

--
R. Robert Bell, MCSE
www.AcadX.com


"Steve Doman" <_nospam_sdoman@yahoo.com> wrote in message
news:C9149A03302BBCA784EE57D7E78D57AE@in.WebX.maYIadrTaRb...
| Thanks Robert,
|
| After reading the post from the tinyurl link you posted, I see that
another
| difference between Base and Insbase is that the Base coordinate is
| translated to the current UCS, but Insbase is not adjusted.
|
| Thanks a billion for pointing that out.
|

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report