Jump to content

How to use Wire Copy (AECOPYWIRENO / WD_COPY_WN) in LISP


Recommended Posts

(Hopefully this Question has not been asked. The Search gave no Results.)


For Context:

I have created a Program that generates a complex Component (Block, Wiring, Text) onto a Sheet.

The Program uses .LSP and .DCL for ease of Use for our Operators.

The Prompt has Options to configure the Component to any Options we need.



I need to update the Program to include Wire Numbers and Wire Number Copies.

(I will be trying to use "WD_PUTWNXY" Command for New Wire Networks, although I have yet to do so.)

For Wire Number Copies, I was hoping to use either the "AECOPYWIRENO" or "WD_COPY_WN" Commands.

The Problem with these Commands is that they do not allow for Coordinate Placement.

When running either Command, the Command Line is requesting to select a Wire as an Entity.




What I would like, is an example of a LISP that completes this Task using a Coordinate System to select and place the Wire Number Copies.





Any Advice would be much appreciated!

Edited by NicholasCAD
Link to comment
Share on other sites

I am not sure what you mean. The copywn Commands ask for an Entity.

It would be alot easier to be able to specify a Pick Point.

When using these Commands manually, the  Cursor acts as the Locator for where the Copy will be placed. However, while using the Commands in LISP, I have not been able to use Coordinates.

Link to comment
Share on other sites

BIGAL, are you Sea-Haven on Autodesk Forums? You have the same Profile Pic. If so, refer to my post here


Essentially this has to do with a Program that Auto Generates a Schematic Sheet in a Drawing Project. This does not use Manual User Input to select the Wire that needs a Copy Wire Number Block.

Link to comment
Share on other sites

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.

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...