polyline inside arx

polyline inside arx

Anonymous
Not applicable
382 Views
3 Replies
Message 1 of 4

polyline inside arx

Anonymous
Not applicable
I've a function which requires a polyline to be drawn somewhere in the
middle... I mean to say there will be some calculation at the beginning then
depending on the output - user will draw a polyline and then there will be
some more calculations... Now, standard polyline supports arc etc.
{[Arc/Close/Halfwidth/Length/Undo/Width]} - I want to keep those
functionalities as it is... Is there any standard ARX function - calling
which it'll ask inputs from the user at command prompt, draw the polyline
and at the end that will give me back the objectId for continuing my job...
Please let me know.

Thanks
-Partha
0 Likes
383 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
There is not a standard ARX function for that. Someone here may have
written some sort of reusable code for it, but it's not in the standard ARX
SDK. You could reproduce that kind of functionality with an AcEdJig.


"Partha" wrote in message
news:B830F8D5F64C53B57D5076CDA00C0066@in.WebX.maYIadrTaRb...
> I've a function which requires a polyline to be drawn somewhere in the
> middle... I mean to say there will be some calculation at the beginning
then
> depending on the output - user will draw a polyline and then there will be
> some more calculations... Now, standard polyline supports arc etc.
> {[Arc/Close/Halfwidth/Length/Undo/Width]} - I want to keep those
> functionalities as it is... Is there any standard ARX function - calling
> which it'll ask inputs from the user at command prompt, draw the polyline
> and at the end that will give me back the objectId for continuing my
job...
> Please let me know.
>
> Thanks
> -Partha
>
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
Consider using ads_command (acedCommand now?) to run the polyline
command, then using ads_entlast to grab the entity name.

Good luck,

Henrik Vallgren
Streamspace

Q: ObjectARX on AutoCAD LT 2004?
A: hvUnlight

"Partha" skrev i meddelandet
news:B830F8D5F64C53B57D5076CDA00C0066@in.WebX.maYIadrTaRb...
> I've a function which requires a polyline to be drawn somewhere in the
> middle... I mean to say there will be some calculation at the beginning
then
> depending on the output - user will draw a polyline and then there will be
> some more calculations... Now, standard polyline supports arc etc.
> {[Arc/Close/Halfwidth/Length/Undo/Width]} - I want to keep those
> functionalities as it is... Is there any standard ARX function - calling
> which it'll ask inputs from the user at command prompt, draw the polyline
> and at the end that will give me back the objectId for continuing my
job...
> Please let me know.
>
> Thanks
> -Partha
>
>
0 Likes
Message 4 of 4

Anonymous
Not applicable
Thanks... I think I've to re-engineer the functionality.

-Partha
0 Likes