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

advanced parameterization

  • Thread starter Thread starter tanticapelli
  • Start date Start date
those listed in the guide are not all available in fact if (although it is not properly a function) and rounds (founded in This is what page)

I consider it a simplistic definition.
In my opinion when you find an obstacle you first look for the solution with the means at your disposal, then if the result does not satisfy or you see a margin of improvement you seek out from your own cognitive schemes, which can be excel, equations, macro or other. Perhaps, beware that it is a hypothesis without foundation and to be considered purely esemplicative, this problem could be solved with a macro of 4 lines but I do not know how to do and therefore I looked for other ways. this to say that for me there is no binary reasoning for which if it is not inside then and out.
no indeed I am very happy to be on the good road to exploit the potential of the software without folding on improbable or forced solutions and that moreover require additional skills such as programming in basic.

it goes well so thanks again and we hope to pass soon this crap of period
 
Bye to all,
I was doing some trivial tests on how long we could want to create new configurations and relative sheet of drawing and not last export in dwg of all boards (I refer to the usual together from me several times sent c009-20 module par glass fixed) and began to use treehouse to add more quickly new configurations on all the components of the affected assemblies.
beyond that I wanted to ask you if you know a system to fix the position of the quotas on the drawing which fortunately do not lose the references to the edges but often annoyingly stretch and move into the drawing, forcing me to drag or reposition them seeds manually (this also happens on already generated and "forgettables" however subject to update due to the recalculature of the assemblies).

If there was a way to fix its position once properly arranged it would be more than appreciable.

thanks to all, as always
 
Hi.
I repeat this discussion by extending it with a question that I put today: can you create a library function controlled by equations so that it is then applicable including equations (as automatic as possible)?

I trust and attach an example of processing already prepared with the same system of equations suggested by massivonweizen in this discussion.

Thank you.
 

Attachments

I can't open the file right now, but you can do it.
equations will be inserted in the destination part. Obviously there will not be any equations or variables with the same name contained in the library function, then it will have to be inserted library functions that have equations and variables with the same name but different purpose of the library function already inserted.
for example:
library function 1: variable c=200
library function 2: variable c=17*3.14

the variable will always be that of the first library function inserted and the successive will receive it as their own
 
I can't open the file right now, but you can do it.
equations will be inserted in the destination part. Obviously there will not be any equations or variables with the same name contained in the library function, then it will have to be inserted library functions that have equations and variables with the same name but different purpose of the library function already inserted.
for example:
library function 1: variable c=200
library function 2: variable c=17*3.14

the variable will always be that of the first library function inserted and the successive will receive it as their own
so if I well understood I could not insert multiple times a library function in the same file otherwise there would be more equations with the same name...
sin because this type of equation would have been useful precisely to adapt the hole step to multiple profiles of different length in the same file consisting of structural elements. . .
 
so if I well understood I could not insert multiple times a library function in the same file otherwise there would be more equations with the same name...
No, you don't understand.
you can enter the same library function as many times as you want provided it is always the same.
you cannot insert two different library functions that contain the same equation or variable but with different features.
the example of before seemed quite clear to me.

be careful who from here onwards I go to memory because I have no way to check:
equations, which I use rarely and therefore do not know how they behave, do not have an identification name (correct me if I am mistaken) unlike variables; Also they can create problems in the unfortunate case where two different library functions have the same equation.
example:
library function 1: Scratch equation1*bschizzo1/cestrusion2 (in this case defines the pitch between holes)
library function 2: Scratch equation1*bschizzo1/cestrusion2 (in this case defines the bending distance of a sheet)

you will understand that if I insert the first library function is created the equation that will give a certain result; when I insert the second bookcase function, which contains the same equation for losers, there will already be a value corresponding to its equation and will use it without any need.

I hope I've explained
 
No, you don't understand.
you can enter the same library function as many times as you want provided it is always the same.
you cannot insert two different library functions that contain the same equation or variable but with different features.
the example of before seemed quite clear to me.

be careful who from here onwards I go to memory because I have no way to check:
equations, which I use rarely and therefore do not know how they behave, do not have an identification name (correct me if I am mistaken) unlike variables; Also they can create problems in the unfortunate case where two different library functions have the same equation.
example:
library function 1: Scratch equation1*bschizzo1/cestrusion2 (in this case defines the pitch between holes)
library function 2: Scratch equation1*bschizzo1/cestrusion2 (in this case defines the bending distance of a sheet)

you will understand that if I insert the first library function is created the equation that will give a certain result; when I insert the second bookcase function, which contains the same equation for losers, there will already be a value corresponding to its equation and will use it without any need.

I hope I've explained
I don't want to make you mad, but you know, I'm coming where I'm coming. .
In fact I wrote "equations" but in reality it is global variables, which in order to be written require the allocation of a name.
therefore, having given the following names:
"div holes"
"arr holes"
"in holes"
"ist holes"
where are these variables written (maintaining the option "binding by library)?
and if so how can they live if the same part of the library is inserted several times on different bodies (of the same file consisting of structural elements)?
I know that you will think "you only have to try", but today I actually did not try and, once the function (already the first time) the parameters of the repetition gave a nice "?" because obviously did not find the system variables that should have generated the results. . .
Perhaps the problem lies in the road I chose for the construction of the library function.. .

Boh! !
 
I don't get angry.
I have written "equations" but it is actually global variables
that you possess.. .
where are these variables written (maintaining the option "binding by library)?
it does not need to be linked to the original part; when inserting the function variables are included in the appropriate tab (instruments> equations)
how can they live if the same part of the library is inserted several times on different bodies
Of course, global variables must serve to do the same procedure.
If your global variables have a fixed value(a=20; b=2; c=35,7), valid for the first function inserted, the later functions may not require different values.
If global variables have a value given by operations (a=quotabschizzo1*quotacschizzo1) I do not know how it behaves because within the model there cannot be two sketches or two quotas with the same name; This means that the first function will have a size that is called quotabschizzo1, in the second function will be called quotabschizzo11, in the third quotabschizzo21.
How does solid behave? creates a new variable? keeps good the first and all other functions go to ramengo? I don't know, you have to do some tests or wait for the next episode of mysterious mysteries
I know you'll think "you only have to try"
You took my mouth off?
today in fact not proved and, once applied the function (already the first time) the parameters of the repetition gave a nice "? "
here you have to see how the function is managed, what the variables do.. .
Perhaps the problem lies in the road I chose for the construction of the library function.. .
It is not a trivial thing to do, make several attempts to find good functioning should not demoralize you.
 
Last edited:
All right, thank you for your moral support as soon as possible, I'll give you a little more detailed evidence.
 
I'm looking at your function and there are a few things that aren't clear to me.
If we leave out the formulas on which we might return, the insertion is asked parameters in my opinion superfluous:
the configuration typecome riferimenti:the point of sketch
the right floorcome quote:hole diameter
hole depth
hole angle

did they want?
 
I'm looking at your function and there are a few things that aren't clear to me.
If we leave out the formulas on which we might return, the insertion is asked parameters in my opinion superfluous:
the configuration typecome riferimenti:the point of sketch
the right floorcome quote:hole diameter
hole depth
hole angle

did they want?
Hi.
the sketch point could be avoided. . .
the right plane is the direction of repetition but I changed, or put the sketch line along which the welding profile runs
the quotas you mentioned are the "classes" generated by creation guided holes-->iso-->foro-->cieco with prof 5 mm

Thank you.
 

Attachments

the quotas you mentioned are the "classes" generated by creation guided holes-->iso-->foro-->cieco with prof 5 mm
I would find it more convenient to manage the hole through the internal function instead of inserting the values manually; First of all because the guided drilling already offers you standard values and then you have a more complete management (you can change type of hole, you can change the hole mode from blind to pass, you can insert bevels.... )
 
but in fact it is a function of creation wizard holes, if you open in detail the tree of the features you should see, both in the sidftp and in the part that exploits the function... I don't know if maybe it gives you some trouble the file for how I exported it. . .
 
in fact it is a function of creation wizard holes, if you open in detail the tree of features you should see
You underestimate me, of course I've seen it's a guided function.
That's why I wouldn't put the values into the property manager of the library function.
 
I am finding, alas, that solids import equations, but not global variables.
I'm sorry I said a bunch of crap.
the solution that comes to mind is to build a sketch in which to insert quotas that simulate variables
 
I am finding, alas, that solids import equations, but not global variables.
I'm sorry I said a bunch of crap.
the solution that comes to mind is to build a sketch in which to insert quotas that simulate variables
in that type of variable division I do not know if it is possible without the help of a linear repetition.
 
I am tedious and I realize that, even if it happens to you that, by applying the workmanship while maintaining the connection with the library part, if I go to vary the split formula by putting instead of 400 for example 500, I go into crisis the part in which the work was applied and I can no longer reconstruct it correctly. :sleep:
 
I believe that maintaining a function that has similar settings is dangerous.
Since you should use this function on many panels what would happen if you opened a file made months before you needed the 400 division instead of that 500 in the library?

apart from this observation; that value you have to change in the part and not in the library.
The questions I ask you are 2:
Does this change work in the library part?
in the previous part of library made with global variables this change worked?
 

Forum statistics

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

Members online

No members online now.
Back
Top