Message 1 of 3
Feature Parameter
Not applicable
04-12-2002
01:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I have created a part feature and its dimensions are assigned as expression of user parameter. Now I am interested in accessing those parameters which are the part of the selected feature. I don't have any problem in selecting a feature. I am iterating one by one all the model parameters and comparing its dependents with the selected feature as follows
if oParameters.Modelparameters(i).Dependents(1) is oFeature then
msgbox oParameters.Modelparameters(i).value
end if
But the if conditions never comes true and hence no value is displayed. I have compared with Dependents(1) because at present all the parameters are used for a single dimension.
Can any body help me out
Thanks in advance
Manoj
I have created a part feature and its dimensions are assigned as expression of user parameter. Now I am interested in accessing those parameters which are the part of the selected feature. I don't have any problem in selecting a feature. I am iterating one by one all the model parameters and comparing its dependents with the selected feature as follows
if oParameters.Modelparameters(i).Dependents(1) is oFeature then
msgbox oParameters.Modelparameters(i).value
end if
But the if conditions never comes true and hence no value is displayed. I have compared with Dependents(1) because at present all the parameters are used for a single dimension.
Can any body help me out
Thanks in advance
Manoj