AutoCAD Electrical
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
wd_dinrl
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
282 Views, 6 Replies
06-17-2008 12:37 PM
Hey Nate. Is there some way we can get the wd_dinrl api modified so it will add the attribute "LENGTH" and automatically enter the length of the rail or duct being created? Currently you are adding Rating1 and Rating2 but by adding the Length we could then include that in our BOM reports.
We are currently using ACADE 2008.
Thanks.
We are currently using ACADE 2008.
Thanks.
Re: wd_dinrl
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-26-2008 04:02 AM in reply to:
sgsawdy
Anyone home?
*Pat Murnen
Re: wd_dinrl
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-07-2008 06:56 AM in reply to:
sgsawdy
When the Din Rail is drawn in, AcadE adds the attributes from the block
wd_ptag_addattr_comp.dwg. This is where the RATING attributes come from. You
can add the LENGTH attribute to this block if you want. That means that the
LENGTH attribute will be added on any panel component though (excluding
panel terminals). No value would be added but when the Insert/Edit dialog
comes up you can select Show/Edit Miscellaneous and add a value. Not exactly
what you were looking for but works without any programming updates.
Pat Murnen
wrote in message news:5959606@discussion.autodesk.com...
Hey Nate. Is there some way we can get the wd_dinrl api modified so it will
add the attribute "LENGTH" and automatically enter the length of the rail or
duct being created? Currently you are adding Rating1 and Rating2 but by
adding the Length we could then include that in our BOM reports.
We are currently using ACADE 2008.
Thanks.
wd_ptag_addattr_comp.dwg. This is where the RATING attributes come from. You
can add the LENGTH attribute to this block if you want. That means that the
LENGTH attribute will be added on any panel component though (excluding
panel terminals). No value would be added but when the Insert/Edit dialog
comes up you can select Show/Edit Miscellaneous and add a value. Not exactly
what you were looking for but works without any programming updates.
Pat Murnen
Hey Nate. Is there some way we can get the wd_dinrl api modified so it will
add the attribute "LENGTH" and automatically enter the length of the rail or
duct being created? Currently you are adding Rating1 and Rating2 but by
adding the Length we could then include that in our BOM reports.
We are currently using ACADE 2008.
Thanks.
Re: wd_dinrl
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-07-2008 07:04 AM in reply to:
sgsawdy
Thanks for getting back to me on this Pat. I wound up creating a lisp routine to add the attribute and the length once the din rail or wire duct is drawn. I will attach it in case it can be useful to anyone else.
How it works is after you are done drawing your din rail or wire duct you have to launch the lisp routine, pick the block you want to add the length attribute to and then pick the endpoint of the same block. This measures the distance from the startpoint to the endpoint you picked and places that value in the LENGTH attribute it adds to the block.
Is it possible to have this added to the wish list for future releases?
Scott
How it works is after you are done drawing your din rail or wire duct you have to launch the lisp routine, pick the block you want to add the length attribute to and then pick the endpoint of the same block. This measures the distance from the startpoint to the endpoint you picked and places that value in the LENGTH attribute it adds to the block.
Is it possible to have this added to the wish list for future releases?
Scott
*Pat Murnen
Re: wd_dinrl
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-07-2008 08:03 AM in reply to:
sgsawdy
I can log this. Basically you want a way to have the length of the dinrail
added to the block as it is built and then have it reported in the Bill of
Materials report. I am assuming that if you have multiple pieces of the same
catalog type din rail that you would want the report to add the lengths
together.
Remember, logging an item only means that it will be considered for a future
release.
Pat
wrote in message news:5974736@discussion.autodesk.com...
Thanks for getting back to me on this Pat. I wound up creating a lisp
routine to add the attribute and the length once the din rail or wire duct
is drawn. I will attach it in case it can be useful to anyone else.
How it works is after you are done drawing your din rail or wire duct you
have to launch the lisp routine, pick the block you want to add the length
attribute to and then pick the endpoint of the same block. This measures
the distance from the startpoint to the endpoint y
ou picked and places that value in the LENGTH attribute it adds to the
block.
Is it possible to have this added to the wish list for future releases?
Scott
added to the block as it is built and then have it reported in the Bill of
Materials report. I am assuming that if you have multiple pieces of the same
catalog type din rail that you would want the report to add the lengths
together.
Remember, logging an item only means that it will be considered for a future
release.
Pat
Thanks for getting back to me on this Pat. I wound up creating a lisp
routine to add the attribute and the length once the din rail or wire duct
is drawn. I will attach it in case it can be useful to anyone else.
How it works is after you are done drawing your din rail or wire duct you
have to launch the lisp routine, pick the block you want to add the length
attribute to and then pick the endpoint of the same block. This measures
the distance from the startpoint to the endpoint y
ou picked and places that value in the LENGTH attribute it adds to the
block.
Is it possible to have this added to the wish list for future releases?
Scott
Re: wd_dinrl
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-07-2008 08:11 AM in reply to:
sgsawdy
That is exactly what we want Pat.
Isn't that why it is called a "wish list".
Scott
Isn't that why it is called a "wish list".
Scott
Re: wd_dinrl
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-09-2012 12:57 PM in reply to:
sgsawdy
I ran the lisp file and it added the length attribute. Is there a way to get this info into the BOM quantity?
