Jump to content

Recommended Posts

Posted

Hello.

 

I looked for Rectang Entmakex to use it instead of it as a command but I have not found .

 

and also in Visual Lisp I could not found anyone either , so anybody could help me with it Please ?

 

Thankxxxxxxxxx

Posted

There is no entity called Rectang, it is actually a polyline... but you can entmakex a LWPOLYLINE to make a rectangle. Speak up if you need help with that.

Posted
There is no entity called Rectang, it is actually a polyline... but you can entmakex a LWPOLYLINE to make a rectangle. Speak up if you need help with that.

 

Thank you so much.

 

That's what I thought of , and what about VLisp ?

Posted
vla-AddLightWeightPolyline

 

Thank you Lee.

 

So it is as well as entmake LWPolyline . Isn't it ?

Posted
So it is as well as entmake LWPolyline . Isn't it ?

 

Yes, the Rectangle Command creates an LWPolyline.

Posted

I mean your suggestion ( vla-AddLightWeightPolyline ) is the same use as LWPolyline Entmake(x) Right ?

So the difference is only the first is Vlisp and second is Vanilla. Agree ? :)

 

Thankxxxx

Posted
I mean your suggestion ( vla-AddLightWeightPolyline ) is the same use as LWPolyline Entmake(x) Right ?

So the difference is only the first is Vlisp and second is Vanilla. Agree ? :)

 

I'm not sure that I understand the question - vla-AddLightWeightPolyline is a method of the ModelSpace/PaperSpace VLA-Object, and requires a Safearray Variant of Doubles representing the 2D points of the vertices in OCS; it in turn returns an LWPolyline VLA-Object.

 

Entmakex requires a list of 2D points in OCS, and in turn returns an LWPolyline Entity.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...