Design World Network | 3DCADTips | 3DCADTutorials | 3DCADForums | 3DCAD Store | 3DCAD Models | Design World






Get CAD tips and tutorials on your desktop when you register at 3DCADTips.com!

3DCADTips Weekly
Latest Issue
Archive

3DCADTips Forum Update
Latest Issue
Archive











Go Back   3DCADForums > CAD Communities > UG/NX Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 3rd, 2006, 03:19 PM
Eugene
Guest
 
Posts: n/a
Red face Replace part family members by conditional statements

Hello,
I am looking for a way to be able to replace members of part family in NX3 via conditional statements.
For an example:
I have a Block with hole 1" dia and a Pin 1 dia assembled into hole.
Pin is a member of part family, which has 200 standard pins.

Hole in the block changes to 1.5".

How to arange automatic replacement of Pin, without doing it manually.

I can do it easy in Pro/E since 1990.
Can not find a way in UG.

Does anybody knows?

Thanks, for your respond in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Link


  #2 (permalink)  
Old June 25th, 2006, 04:16 PM
support
Guest
 
Posts: n/a
Cool from xyzgeneral

From xyzgeneral of MCADCentral.com writes:

U have created a BLOCK with a hole (dia 1") in it, in the assembly. Then u have called the "pin1.prt" (one of the family member) into this file and assembled it. Now whenever the hole dia changes say from 1" to 2" u want the pin to be replaced with another family member having the dia 2".
I assume u have template file for pin part (say pin_tm.prt) that will create 200 standard pins.
  1. Change the hole dia to 2"
  2. Right click the pin1.prt (in the assembly navigator)->substitute...-> Maintain Mating->select pin_tm.prt
  3. A dialog box is displayed in which "Family Attributes" are listed, choose dia_pin (where dia_pin is the diameter of the pin) from the list, u should see the following string in the "Criteria" text box
    dia_pin==
  4. Write dia_hole in front of it (dia_hole is the expression that controls the diameter of the hole in the assembly)
  5. click OK

    Now u should see the new family member (of dia 2") in place of pin1(of dia 1").
  6. Now suppose u change the dia of hole to 3", all u have to do is:

    right click the pin part in the assembly navigator->properties->choose parameters tab-> click update button, the family member will be automatically replaced.
Note:
U can also use macro for step 3.
Change the dia of the hole.
Ctrl+Shift->R
specify the name and path of the macro file.
Right click the pin part->substitute...-> Maintain Mating->select pin_tm.prt->selct dia_pin from the Family Attributes list->click OK
Ctrl+Shift->R
Now whenever u change the hole dia, run this macro (Ctrl+Shift->P).

Good Luck!
3DCADTips Help Desk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 06:43 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0