×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

2001 pro/program in assemblies doubt

2001 pro/program in assemblies doubt

2001 pro/program in assemblies doubt

(OP)
hi,

I have an assembly that includes some parts from family tables. I want to control the size of all these parts from the assembly itself. I thought that using some variables I can resize the entire assembly.

The problem it's that my pro/program is limited and the help does not help me so much.

anyone could help me?

RE: 2001 pro/program in assemblies doubt

Hello,

The parts must contain Pro-Program as well

e.g.

If you have a shaft to fit in a square plate with a hole

the shaft will be

input
shaft_dia number
shaft_len number
end input

the plate will be
input
hole_dia number
hole_depth number
input

the assembly will need something like this

input
assy_shaft_dia number
assy_shaft_len number
assy_hole_dia number
assy_hole_depth number
end input

after the relations you will need to do this

execute part shaft.prt
shaft_dia=assy_shaft_dia
shaft_len=assy_shaft_len
end execute

execute part plate.prt
hole_dia=assy_hole_dia
hole_depth=assy_hole_depth
end execute

Is this clear?

Let me know of any more problems/questions.

----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!

RE: 2001 pro/program in assemblies doubt

(OP)
I know this way but the problem it's that the parts I'm trying to insert come from a family table. I've tryed:

INPUT
param1 number
param2 number
param3 number
END INPUT

RELATIONS
inst_name = lookup_inst( "PLAT_P_VAP.PRT", 1, "d5", param1, "A2", param2, "B", param3)
END RELATIONS

...............
 ADD PART (inst_name)
 INTERNAL COMPONENT ID 44
 PADRES = 41(#6)
 END ADD

..............

the part "plat_p_vap.prt" has a lot of instances and some parameters more in the family table. The program gives me an error in the relation and I'm lost.

I've tryed also something like:

input
name string
end input
......
add part (name)
......

but it does not work

I expect to explain myself better this time.

RE: 2001 pro/program in assemblies doubt

Hello,

I think you may need to investigate the INterchange assembly method.

----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!

RE: 2001 pro/program in assemblies doubt

Hello,

I got this to work,

on my shaft part I have three instances 50, 100 & 150
on my plate part I have three instances p50, p100 & p150

In my assembly I have

INPUT
 SHAFT_NO STRING
 PLATE_NO STRING
END INPUT


 ADD PART (PLATE_NO)
 INTERNAL COMPONENT ID 33
 END ADD

 ADD PART (SHAFT_NO)
 INTERNAL COMPONENT ID 34
 PARENTS = 33(#6)
 END ADD

WHen regenerating, if you change the part numbers the components change.
Is this anything like what you require?

----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!

RE: 2001 pro/program in assemblies doubt

Pascual,

You said "...the part "plat_p_vap.prt" has a lot of instances and some parameters more in the family table. The program gives me an error in the relation and I'm lost."

Can you please describe the error?

-Hora

RE: 2001 pro/program in assemblies doubt

(OP)
Hora,

the error says that there is an error in the relations line. I've changed the program and haven't the same error.

RE: 2001 pro/program in assemblies doubt

(OP)
finally the working code will be something like:


 INPUT
 ANOM STRING
 BNOM STRING
 CNOM STRING
 NOM2 STRING
END INPUT

RELATIONS
NOM = ANOM +"x"+ BNOM + "x"+ CNOM
END RELATIONS

............

 ADD PART (NOM)
 INTERNAL COMPONENT ID 39
 END ADD

 ADD PART (NOM2)
 INTERNAL COMPONENT ID 41
 PADRES = 39(#5)
 END ADD

.............

since I have all the parts named as its main dimensions. This code real works. I have to develop completly but I think will be easy.

The goal is to prepare a mould assembly with all the most common parts we use. Yes, I know there is a mould module, but it has not the standars I comontly use and the process to create a catalog is very long (in work and time). This method is simplier and I can include some things that there aren't in the standars.

thanks for your help

RE: 2001 pro/program in assemblies doubt

Pascual,

See this Thread554-24772 also. It was a nice discission there about swaping components in assembly.

-Hora

RE: 2001 pro/program in assemblies doubt

(OP)
I've read the thread and it's similar to the solution I'll have. But now I have one doubt more.

I can replace the components by its names. But it'd be nice to have a name such as "plate_a" not "plate_a_245x245". I wonder if there is any way to change the name of the components or replace them by its parameters. I suppose I'll have to use the lookup_inst command. I'll try and post my results.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources