norseman83
Mechanical
- Dec 21, 2004
- 11
After the great help I recieved from this forum on my last question, I thought I would try to pick your brains again!!
I am trying to create an assembly template for my company. Some of the component dimensions in the assembly differ with the company we build the particular product(assembly)for.
So, I am trying to use the particular company name to drive specific dimensions in these components. My questions are these: 1. How can I get the "company name" equation to produce a text (or String?)output? 2. How do I get the affected "dimension" equation to recognize the text value in a IIf statement?
These are the equations that I have started with so far:
The Company variable equation is:
"Company"="otis"
The dimension equation is:
"D6@Sketch1" = IIf("Company" Like "otis", 3.8125, 3.5625)
I am able to make the equations work by assigning a number to the company (ie. "Company"=1) and using that number in the IIf statement, but I would like the engineer to use the company name if I can.
I am trying to create an assembly template for my company. Some of the component dimensions in the assembly differ with the company we build the particular product(assembly)for.
So, I am trying to use the particular company name to drive specific dimensions in these components. My questions are these: 1. How can I get the "company name" equation to produce a text (or String?)output? 2. How do I get the affected "dimension" equation to recognize the text value in a IIf statement?
These are the equations that I have started with so far:
The Company variable equation is:
"Company"="otis"
The dimension equation is:
"D6@Sketch1" = IIf("Company" Like "otis", 3.8125, 3.5625)
I am able to make the equations work by assigning a number to the company (ie. "Company"=1) and using that number in the IIf statement, but I would like the engineer to use the company name if I can.