Help

Help

Anonymous
Not applicable
455 Views
13 Replies
Message 1 of 14

Help

Anonymous
Not applicable
Hi :
I try to program ARX for acad with VC++,
how do I get help from this group ?
Is there a sub group that I must join ?
how do I get there ?

Tai Tu
tai@powersurfr.com
0 Likes
456 Views
13 Replies
Replies (13)
Message 2 of 14

Anonymous
Not applicable
Hi :
I'm try to program ARX for acad with VC++
how do I get help from this group ?
Is there a sub group that I must join ?
how do I get there ?

Tai Tu
tai@powersurfr.com
0 Likes
Message 3 of 14

Anonymous
Not applicable
Hi :
I try to program ARX for acad with VC++
how do I get help from this group ?
Is there a sub group I must join ?
how do I get there ?

Tai Tu
tai@powersurfr.com
0 Likes
Message 4 of 14

Anonymous
Not applicable
Hi :
I try to program ARX for acad with VC++
how do I get help from this group ?
is there a sub group that I must join ?
how do I get there ?

Tai Tu
tai@poewrsurfr.com
0 Likes
Message 5 of 14

Anonymous
Not applicable
Hi :
I try to program ARX for acad with VC++
how do I get help from this group ?
Is there a sub group that I must join ?
how do I get there ?
jason
jasont@powersurfr.com
0 Likes
Message 6 of 14

Anonymous
Not applicable
Hello:
I am working on a optimism problem: Material panel size is 3 x 4, I have a
lot of piece of part. they are all smaill or equal size (like 1.5 x 2, 3x2,
1x4,1x2...) I need the min panel used in a project. How the algorithm will
be? at least tell me how kind of problem it is so I can search on the web
and get the answer. Should I post this to other newsgroup, which one is the
best? You will save me. Thanks very very much.

Sorry, Anne. I do not like to cross post but I have to got the answer as
soon as possible.

Wes
0 Likes
Message 7 of 14

Anonymous
Not applicable
Weslley -

Unfortunately, your message attached itself to an old one from
Wednesday, November 17, 1999. Try reposting it with a more
descriptive subject than "Help" and the new message will pop up
into the new messages rather than those back in 1999.
--
Anne Brown
Manager, Moderator
Autodesk Product Support discussion groups
Discussion Q&A: http://www.autodesk.com/discussion

Weslley Wang wrote:
>
> Hello:
> I am working on a optimism problem: Material panel size is 3 x 4, I have a
> lot of piece of part. they are all smaill or equal size (like 1.5 x 2, 3x2,
> 1x4,1x2...) (snip)
0 Likes
Message 8 of 14

Anonymous
Not applicable
I see you have an answer in the VBA discussion group.
--
Anne Brown
Manager, Moderator
Autodesk Product Support discussion groups
Discussion Q&A: http://www.autodesk.com/discussion

Weslley Wang wrote:
>
> Hello:
> I am working on a optimism problem: (snip)
0 Likes
Message 9 of 14

Anonymous
Not applicable
I would like to find the length of multiple lines and each length put out to
a spread sheet. The next step is to have calculated information come back
into autocad in the form of grid coordinates.

I thought about using the entget or entsel but I can't get it to do what I
need it to do.

Any help would be great...

Thanks

Jeff M.
0 Likes
Message 10 of 14

Anonymous
Not applicable
Email me a example drawing with more information on exactly what you want to
do.
Jeff Milos wrote in message
news:F75A2377C394B0E09E77CA24513C6B81@in.WebX.maYIadrTaRb...
> I would like to find the length of multiple lines and each length put out
to
> a spread sheet. The next step is to have calculated information come back
> into autocad in the form of grid coordinates.
>
> I thought about using the entget or entsel but I can't get it to do what I
> need it to do.
>
> Any help would be great...
>
> Thanks
>
> Jeff M.
>
0 Likes
Message 11 of 14

Anonymous
Not applicable
Very briefly:

Starting with (entsel ...) or (ssget "X" ...) is good. Then use (entget ...)
to get each line's association list. Use (assoc ...) to extract the 10 and 11
groups, then calculate the length of the line as the distance between those
two points.

Getting the data into Excel automatically without an intermediate file is done
in different ways depending on your AutoCAD version. For AutoCAD 2000/2000i,
see ADOLISP.ZIP from the download page at http://www.fleming-group.com or the
slightly expanded version form the Code Mine section of http://www.acadx.com/.

jrf
Member of the Autodesk Discussion Forum Moderator Program

In article , Jeff Milos
wrote:
> I would like to find the length of multiple lines and each length put out to
> a spread sheet. The next step is to have calculated information come back
> into autocad in the form of grid coordinates.
>
> I thought about using the entget or entsel but I can't get it to do what I
> need it to do.
>
> Any help would be great...
>
> Thanks
>
> Jeff M.
>
0 Likes
Message 12 of 14

Anonymous
Not applicable
Can I ask someone who is running Acad2000 and also someone who is running
Acad2000i to try the following code and post the results.

It appears there may have been a change in format from 2000 and 2002.

(ssnamex (ssget ":N:D" ))

When prompted for "Select Objects", use a Crossing Window to select only a
portion of an Insert object but be sure to have more than 1 subentity
selected.

In 2002 it returns the list in this format.

((3 1 -1 (48.0 0.0 0.0) (0.0 48.0 0.0) (0.0 0.0
48.0)
(26639.4 14913.4 0.0) ) (-1 (0 (26637.9 14918.3
20.5303)) (0 (26664.1 14918.3 20.5303)) (0 (26664.1 14906.6 20.5303)) (0
(26637.9 14906.6 20.5303))))

Thanks Alot

Don
0 Likes
Message 13 of 14

Anonymous
Not applicable
From Autocad2000 I got the following result.

Command: (ssnamex (ssget ":N:D" ))

Select objects: Specify opposite corner: 6 found

Select objects:
((3 0 -1 (-2.22045e-016 -1.0 0.0) (1.0 -2.22045e-016
0.0) (0.0 0.0 1.0) (81.5625 120.938 0.0)
name:
15ebce8>) (3 0 -1 (-2.22045e-016 -1.0 0.0) (1.0
-2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625 120.938 0.0)
15ebcc0>
) (3 0 -1 (-2.22045e-016 -1.0
0.0)
(1.0 -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625 120.938 0.0)
15ebcc0> ) (3 0 -1
(-2.22045e-016
-1.0 0.0) (1.0 -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625 120.938 0.0)

name: 15ebcc0> ) (3 0 -1
(-2.22045e-016 -1.0 0.0) (1.0 -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625
120.938
0.0) ) (3
15ebca0> 0
-1 (-2.22045e-016 -1.0 0.0) (1.0 -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625
120.938 0.0) ) (-1 (0 (28.9478
7.91919 80.5271) (0.551357 0.787419 -0.275637)) (0 (68.0605 -19.4678
80.5271)
(0.551357 0.787419 -0.275637)) (0 (60.3539 -30.474 33.6699) (0.551357
0.787419
-0.275637)) (0 (21.2411 -3.08701 33.6699) (0.551357 0.787419 -0.275637))))


--
Bruce Card

"DonB" wrote in message
news:2FBBA88270ECB09F26A74DC7EF2E14A4@in.WebX.maYIadrTaRb...
> Can I ask someone who is running Acad2000 and also someone who is running
> Acad2000i to try the following code and post the results.
>
> It appears there may have been a change in format from 2000 and 2002.
>
> (ssnamex (ssget ":N:D" ))
>
> When prompted for "Select Objects", use a Crossing Window to select only a
> portion of an Insert object but be sure to have more than 1 subentity
> selected.
>
> In 2002 it returns the list in this format.
>
> ((3 1 -1 (48.0 0.0 0.0) (0.0 48.0 0.0) (0.0 0.0
> 48.0)
> (26639.4 14913.4 0.0) ) (-1 (0 (26637.9 14918.3
> 20.5303)) (0 (26664.1 14918.3 20.5303)) (0 (26664.1 14906.6 20.5303)) (0
> (26637.9 14906.6 20.5303))))
>
> Thanks Alot
>
> Don
>
>
>
0 Likes
Message 14 of 14

Anonymous
Not applicable
That's such a bummer, that used to be a pretty neat trick to get all the
entities in an Insert.

This is a notice then to all who upgrade to R2002. This no longer works.

Thanks

Don

"Bruce Card" wrote in message
news:7E2D4AFDFB9D640DD8463331278D32AE@in.WebX.maYIadrTaRb...
> From Autocad2000 I got the following result.
>
> Command: (ssnamex (ssget ":N:D" ))
>
> Select objects: Specify opposite corner: 6 found
>
> Select objects:
> ((3 0 -1 (-2.22045e-016 -1.0 0.0)
(1.0 -2.22045e-016
> 0.0) (0.0 0.0 1.0) (81.5625 120.938 0.0)
> name:
> 15ebce8>) (3 0 -1 (-2.22045e-016 -1.0 0.0) (1.0
> -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625 120.938 0.0)
> 15ebcc0>
> ) (3 0 -1 (-2.22045e-016 -1.0
> 0.0)
> (1.0 -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625 120.938 0.0)
> 15ebcc0> ) (3 0 -1
> (-2.22045e-016
> -1.0 0.0) (1.0 -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625 120.938 0.0)
>
> name: 15ebcc0> ) (3 0 -1
> (-2.22045e-016 -1.0 0.0) (1.0 -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625
> 120.938
> 0.0) ) (3
> 15ebca0> 0
> -1 (-2.22045e-016 -1.0 0.0) (1.0 -2.22045e-016 0.0) (0.0 0.0 1.0) (81.5625
> 120.938 0.0) ) (-1 (0
(28.9478
> 7.91919 80.5271) (0.551357 0.787419 -0.275637)) (0 (68.0605 -19.4678
> 80.5271)
> (0.551357 0.787419 -0.275637)) (0 (60.3539 -30.474 33.6699) (0.551357
> 0.787419
> -0.275637)) (0 (21.2411 -3.08701 33.6699) (0.551357 0.787419 -0.275637))))
>
>
> --
> Bruce Card
>
> "DonB" wrote in message
> news:2FBBA88270ECB09F26A74DC7EF2E14A4@in.WebX.maYIadrTaRb...
> > Can I ask someone who is running Acad2000 and also someone who is
running
> > Acad2000i to try the following code and post the results.
> >
> > It appears there may have been a change in format from 2000 and 2002.
> >
> > (ssnamex (ssget ":N:D" ))
> >
> > When prompted for "Select Objects", use a Crossing Window to select only
a
> > portion of an Insert object but be sure to have more than 1 subentity
> > selected.
> >
> > In 2002 it returns the list in this format.
> >
> > ((3 1 -1 (48.0 0.0 0.0) (0.0 48.0 0.0) (0.0 0.0
> > 48.0)
> > (26639.4 14913.4 0.0) ) (-1 (0 (26637.9 14918.3
> > 20.5303)) (0 (26664.1 14918.3 20.5303)) (0 (26664.1 14906.6 20.5303)) (0
> > (26637.9 14906.6 20.5303))))
> >
> > Thanks Alot
> >
> > Don
> >
> >
> >
>
>
0 Likes