• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

automatic compilation parameter

  • Thread starter Thread starter coyote_x
  • Start date Start date

coyote_x

Guest
hi to everyone, it's been a long time since I didn't show up around here, I started dating this forum a few years ago but then ( Luckily) the job gave me a lot to do and left me little time to read and intervene.
I write to ask who is more experienced than me if you can succeed in doing something like this, maybe it can be useful to someone else too:
we put that I have a generic set with various components, including a hypothetical component "vite.prt";
the aforementioned set contains a family table with 2 instances, in the first instance "vite.prt" is resumed, in the second is suppressed;
the axieme and its instances contain a presence_vite parameter, I need this parameter to have value if "vite.prt" is resumed, no if it is suppressed;
is it possible to write a relationship that can guide the presence_vite parameter depending on whether "vite.prt" is present or not?
I thought of something like this (the syntax is definitely wrong, it's just to make you understand):

if vine.prt = true

presence_vite=yes
endif

if vine.prt = false

presence_vite=no
endif

or may be the opposite, i.e. when changing the parameter the component could be resumed if yes, deleted if not.
on this type of approach I found on the net several pages, especially in many use pro\program to manage product configurations.
Of course I can't use it, not having the assembly license!

what I want to achieve is a parameter that gives me indication of the presence or not of a component in the various instances of assemblies, and then can publish it in a repeat region with &asm_mbr_user_defined.
Is it possible for you to succeed?
 
Hello, and in a shocking delay.

for the purpose you can use together the series (I use it for screws of my mold standard).
insert the component together that you want to fly the presence with a parameter, create the series (also of direction with distance 0 having number of occurrences equal to 2), exclude from the main simplified representation the component that pilots the series. in the reports insert:

p1=1 /* where p1 is the parameter that pilots the number of components of the series.
with value 1 the component will not be present because the main one is hidden from representation.
with value 2 the component will be present because it is the anniversary of the series.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top