Feature Parameter

Feature Parameter

Anonymous
Not applicable
322 Views
2 Replies
Message 1 of 3

Feature Parameter

Anonymous
Not applicable
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
0 Likes
323 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
hello. I am now trying to creat a part feature such as cylinder. but i don't know how to start as the result of having no reference of inventor's api. can you help me?
thank you.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Have you looked in the Programming help? There is some examples that should help you.

--
Kent
Member of the Autodesk Discussion Forum Moderator Program


"dengfei" wrote in message news:[email protected]...
> hello. I am now trying to creat a part feature such as cylinder. but i don't know how to
start as the result of having no reference of inventor's api. can you help me?
> thank you.
>
0 Likes