Author Topic: Boundary set for BPOLY?  (Read 3832 times)

0 Members and 1 Guest are viewing this topic.

zoltan

  • Guest
Boundary set for BPOLY?
« on: September 02, 2008, 08:08:51 PM »
I'm about to pull my hair out!

A search has revealed that people have been using the BPOLY function in two ways:

(BPOLY pnt) to specify a point
and
(BPOLY pnt ss) to specify a point and a boundary set.

But when I try the later in AutoCAD 2008, i get:
(pnt is a point and ss is a selection set)

Command: (bpoly pnt ss)
Invalid option keyword.
nil
Specify internal point or [Advanced options]: *Cancel*

What is the correct arguments to BPLOY to specify the boundary set, the object type and the island detection?




Spike Wilbury

  • Guest
Re: Boundary set for BPOLY?
« Reply #1 on: September 02, 2008, 11:18:30 PM »
(bpoly pt [ss] [vector])

where vector was/is any of this: (setq vector (list '(1 0) '(0 1) '(-1 0) '(0 -1))) ;; ray casting

there was also this function for error control: (bherrs) returns T if was no error found

The island detection as far as I know never was introduced as part of the function bpoly it is in the bhatch - if I recall - and don't remember the arguments for bhatch or the old ads c:bhatch.
nor as part of bhatch, bhatch uses the same arguments as bpoly too.

All the bpoly and bhatch function info, can be found in the R12 customization book, btw.

The info above, it is what I remember..... might be wrong.
« Last Edit: September 02, 2008, 11:24:52 PM by LE »

zoltan

  • Guest
Re: Boundary set for BPOLY?
« Reply #2 on: September 03, 2008, 09:00:01 AM »
Thanks for the insight, LE. it just so happens that I have an R12 set of manuals at my disposal!  I will report back when I have dug them out of the attic.

Spike Wilbury

  • Guest
Re: Boundary set for BPOLY?
« Reply #3 on: September 03, 2008, 10:02:41 AM »
I was able to do some tests here, using AutoCAD 2007

In order to work it requires a vector, that's why it is calling the boundary command.

Change your code to:

Code: [Select]
(bpoly pt ss '(1 0))

vector - ray casting
'(1 0)
'(0 1)
'(-1 0)
'(0 -1)

or any other '(2 5), etc.

taner

  • Guest
Re: Boundary set for BPOLY?
« Reply #4 on: October 05, 2009, 05:32:39 AM »
I was able to do some tests here, using AutoCAD 2007

In order to work it requires a vector, that's why it is calling the boundary command.

Change your code to:

Code: [Select]
(bpoly pt ss '(1 0))

vector - ray casting
'(1 0)
'(0 1)
'(-1 0)
'(0 -1)

or any other '(2 5), etc.


Dear Sir,

When I use boply like (bpoly pt ss '(1 0)) , the below words appears in command line.Why?

Invalid option keyword.