Hello,
I have a document where I assemble a component from my 3D library.
This component has an excel file where it has codes that changes its length. I have defined this length parameter as an auxiliary parameter (so when I assemble it, it appears at least on the tree of the other doc.)
But even though its there, I can't (or don't know how) to use it.
For example, I want an extrusion to grow according to the auxiliary paramater of the component. So I define a parameter for the extrusión say L_ran
The auxiliary parameter of the component is L. So when I try to say L_ran=L, it tells me it is an invalid expression. Meaning in this new doc., the parameters of the components assembled are not recognized.
But I've seen how in other libraries that come with the TopSolid (which use .cat files) they are able to retrieve parameters from other components assembled.
How do you do that?
How to use parameters from other components
Moderators: remi77, jacs, Daniel
Hi Olaio,
Yes, parameter "L" is a driver. But still I don't know how...
I want to do something like on the lmc library, the minifix (on my computer its: C:\Missler\V612\z\woo\lib\TopSolid'Wood_LMC\assembly\eccentric#V=metal minifix reduced#I=00#R=DT.top)
They retrieve the parameters from other components calling for their number, for example like @123
And if they change the code of the component assembled, the parameter they created on the document with an expression like p1=@123 also changes.
Lorena
Yes, parameter "L" is a driver. But still I don't know how...
I want to do something like on the lmc library, the minifix (on my computer its: C:\Missler\V612\z\woo\lib\TopSolid'Wood_LMC\assembly\eccentric#V=metal minifix reduced#I=00#R=DT.top)
They retrieve the parameters from other components calling for their number, for example like @123
And if they change the code of the component assembled, the parameter they created on the document with an expression like p1=@123 also changes.
Lorena
-
- Private
- Posts: 1
- Joined: Thu Nov 14, 2013 11:01 am
- TopSolid Module: TopSolid'Wood
- TopSolid Version: 6.15
- Location: Lidzbark Warminski
- Contact:
Re: How to use parameters from other components
The way to reach auxiliary parameter is as follows:lord19 wrote:The auxiliary parameter of the component is L. So when I try to say L_ran=L, it tells me it is an invalid expression. Meaning in this new doc., the parameters of the components assembled are not recognized.
When creating or modifying local parameter (L_ran in that case), instead of just typing value or expression, click "Parameter" button (blue sliders, by default between "Point" and "Selection tool"), then select "Component parameter" button, point the component and choose your desired auxiliary parameter.
Note: the list to choose from contains designations. Name is used only if designation is empty (unset). That's why you may or may not find literally "L" on the list. Just look by designation if any, then by name.