Permlink Replies: 16 - Last Post: Oct 29, 2009 6:50 PM Last Post By: dilipshriv Threads: [ Previous | Next ]
dilipshriv

Posts: 36
Registered: 11/22/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 26, 2009 5:37 PM
  Click to reply to this thread Reply
Hello,
I use Parts lists/BOM's extensively on very large dwgs and ACM2010 does an excellent job of keeping track of part refs. as they are inserted. I have two questions
1. Is there a Find feature within parts list so I can search and find a part no. & corresponding item no.? The Find command outside of parts list works great on text/mtext but does not work with parts list
2. If I copy part refs to multiple locations parts list adds them and displays one row and the total. If I insert parts ref in multiple locations (accidentally on large dwgs) then it creates separate rows of same part no.. If this happens is there a simple way of automatically combining similar item nos. and display one row with total?
Help please Sridhar,Michael,anyone!!
Thanks
Dilip
Sridhar-Autodesk

Posts: 586
Registered: 12/19/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 27, 2009 2:52 AM   in response to: dilipshriv in response to: dilipshriv
  Click to reply to this thread Reply
Hi Dilip,

Issue-1:

You may create a custom filter to search for a particular part no or any property with filters. Find attached image for more info.

Issue-2:

Click on the top left hand corner as shown in the image and click " Merge" rows toolbar button. This will merge all identical parts which are on multiple rows.

Let me know if this answers the questions.

Thanks,

Sridhar

Software QA Engineer

Autodesk, Inc.
Sridhar-Autodesk

Posts: 586
Registered: 12/19/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 27, 2009 2:54 AM   in response to: Sridhar-Autodesk in response to: Sridhar-Autodesk
  Click to reply to this thread Reply
More info for issue-1. You may create as many filters as you would like, enable/disable them as and when required.

Thanks,

Sridhar
dilipshriv

Posts: 36
Registered: 11/22/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 27, 2009 6:13 PM   in response to: Sridhar-Autodesk in response to: Sridhar-Autodesk
  Click to reply to this thread Reply
Hi Sridhar,
Thanks a lot. I will try your suggestions and let you know
Thanks
Dilip
dilipshriv

Posts: 36
Registered: 11/22/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 27, 2009 7:24 PM   in response to: Sridhar-Autodesk in response to: Sridhar-Autodesk
  Click to reply to this thread Reply
Hi Sridhar,
Works great! Thanks a lot this will save me a lot of time on large dwgs. One last question. Once I isolate a part no. using filter and know the item no., is there any way I can navigate to that balloon in dwg from parts list or outside?
Thanks a lot
Dilip
Sridhar-Autodesk

Posts: 586
Registered: 12/19/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 28, 2009 1:56 AM   in response to: dilipshriv in response to: dilipshriv
  Click to reply to this thread Reply
Dilip,

You're welcome!

Currently there is no way to navigate to the balloon of filtered part.

Thanks,

Sridhar
cadenza

Posts: 18
Registered: 09/29/08
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 28, 2009 12:50 PM   in response to: Sridhar-Autodesk in response to: Sridhar-Autodesk
  Click to reply to this thread Reply
"Currently there is no way to navigate to the balloon of filtered part"
Yes but we need one.
See http://discussion.autodesk.com/forums/thread.jspa?threadID=739677&tstart=30
dilipshriv

Posts: 36
Registered: 11/22/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 28, 2009 5:24 PM   in response to: Sridhar-Autodesk in response to: Sridhar-Autodesk
  Click to reply to this thread Reply
Hi Sridhar,
Thanks again. The previous suggestions are a great help already. I looked Cadenza's wishlist and agree that on large dwgs finding partrefs from parts list is almost a necessary feature. However the parts list/BOM/balloons is one of the very well done features in ACM and I use it extensively. Just like to mention to Cadenza that I am able to align balloons even if they are inserted later by using rEorganize option in amballoons command. I do like his wishlist.
Thanks
Dilip
mstringer@amfca...

Posts: 14
Registered: 03/05/04
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 28, 2009 7:12 PM   in response to: dilipshriv in response to: dilipshriv
  Click to reply to this thread Reply
Attachment loc.lsp (1.7 KB)
Hello,

Attached here is a little Lisp routine to find your AcmBalloon in your drawings.

Load the lisp file and run it.
It asks for a number to find.
Type the number you are looking for and the routine will center the balloon in your screen.
If one or more balloons exist with the same number, just press enter to go to the next one.
Yuo can answer no to the prompt or escape the routine if the number you have on your screen is the one you want.

I have tested this routine on AutoCAD Mechanical 2010 french version.
The prompts are in english for your convenience.

You can modify the zoom lense by going in the code and changing the scale.
It is set to 8 times the dimscale, but you can set it to whatever you need.
I have put a comment at this line to better locate it.

Hope this routine helps you.

Marc
dilipshriv

Posts: 36
Registered: 11/22/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 29, 2009 2:16 AM   in response to: mstringer@amfca... in response to: mstringer@amfca...
  Click to reply to this thread Reply
Hello Marc,
Thanks a lot!! your routine works great and is extremely helpful for large drawings with hundreds of baloons.
I will try some changes as per your suggestions. Thanks a lot
Regards
Dilip
cadenza

Posts: 18
Registered: 09/29/08
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 29, 2009 12:49 PM   in response to: mstringer@amfca... in response to: mstringer@amfca...
  Click to reply to this thread Reply
Bonjour Marc,



No being a user of lisp I wonder if your lisp routine would able to find the "partref" tag in a drawing? as they can be very difficult to find before the drawing is ballooned.



Merci

Steve
mstringer@amfca...

Posts: 14
Registered: 03/05/04
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 29, 2009 1:27 PM   in response to: cadenza in response to: cadenza
  Click to reply to this thread Reply
Hi Steve,

I know that you want to find the partref, but what data to you need to find it with?

For example, my loc.lsp routine finds the balloon with the number you type in, let's say "8".

What would be the data you enter at a prompt to find a specific partref? Name, Description?

If the value you look for is in the partref, I can make another routine to find those partref or add a choice in the same routine.

Marc
cadenza

Posts: 18
Registered: 09/29/08
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 29, 2009 2:06 PM   in response to: mstringer@amfca... in response to: mstringer@amfca...
  Click to reply to this thread Reply
Hi Marc

That was a swift response!

Once a partref is inserted then it will appear in the parts / BOM at that point it would only have the item number and a description associated with it, part numbers are not allocated until after the drawing has been processed through Vault Manufacturing. So I am guessing that you would not be able to define a unique property to search for

The problem some of our designers have is when the parts list says there is a quantity of x when he knows there should be only x-1, finding the "extra" partref can be a long drawn out job in a complex drawing.

Many thanks

Steve
mstringer@amfca...

Posts: 14
Registered: 03/05/04
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 29, 2009 2:36 PM   in response to: cadenza in response to: cadenza
  Click to reply to this thread Reply
Attachment locp.lsp (1.7 KB)
Ok Steve,

Attached here is the same type of routine that I have juste made, but you type the description, or part of it, to find all you occurences of the part reference.

1- To find all occurences, go into your bom, select the part you are looking for and copy the content of the description.
2- Start locp and copy the description at the prompt.

You'll be browsing thru all of them and probably find the that is not needed.

Try it and see what it can do for you.

Marc
dilipshriv

Posts: 36
Registered: 11/22/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 29, 2009 6:26 PM   in response to: mstringer@amfca... in response to: mstringer@amfca...
  Click to reply to this thread Reply
Hi Marc,
Again a extremely useful routine. I usually search partrefs by name. Is this the area that needs to be changed
in your routine specifically code 330 in assoc?

(if (wcmatch (strcase (cdr (nth 17 (entget (cdr (assoc 330 NEXTENT)))))) (strcase (strcat "*" text "*")))
(progn
(setq list-num (append list-num (list (strcase (cdr (nth 17 (entget (cdr (assoc 330 NEXTENT)))))) )))
(setq list-num (append list-num (list (dxf 10 nextent))))
)
)

Thanks
Dilip
mstringer@amfca...

Posts: 14
Registered: 03/05/04
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 29, 2009 6:45 PM   in response to: dilipshriv in response to: dilipshriv
  Click to reply to this thread Reply
Hello,

Actually, it is the number "17" you would have to change. But I think it is the name it looks for.
The number 17 was found by using this method:

Type this line at the command prompt followed by enter:

(entget (cdr (assoc 330 (entget (car (entsel))))))

Then, select an object and you will see pairs of data like ( 1 . "NAME") (2 . "HEX HEAD CAP SCREW") (3 . "").

I have counted these pairs, beginning with 0 to find 17 which is the one mentionnend here. So 17 is the pair following "NAME", so I assumed it is the right one. The next one is (1 . "DESC") (followed by it's value.

Just change 17 (both places) in the routine to find the one you want. 20 would be the description.

It may be the prompt that lead you to think I was asking for a description. I should of write "Part Name" instead.

I am not sure if I answered your question but hope this solves it.

Marc
dilipshriv

Posts: 36
Registered: 11/22/06
Re: ACM2010 - Find part number, combine similar part numbers
Posted: Oct 29, 2009 6:50 PM   in response to: mstringer@amfca... in response to: mstringer@amfca...
  Click to reply to this thread Reply
Hi Marc, Thanks again. I will spend some time experimenting with what you suggested. This is very helpful info but will take me a little time to get exactly what I want. Thank you very much!!
Regards
Dilip