Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

suppress

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
273 Views, 5 Replies

suppress

Anonymous
Not applicable
how can I find suppressed feature parameters.
Is there any property.or simple code
0 Likes

suppress

how can I find suppressed feature parameters.
Is there any property.or simple code
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
You can always get parameters from a feature regardless of its suppression
state. So you don't have to do anything special with suppressed features.

Sanjay-
0 Likes

You can always get parameters from a feature regardless of its suppression
state. So you don't have to do anything special with suppressed features.

Sanjay-
Message 3 of 6
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
No,I think you did not get my question correctly.
Let me put it in other way.

Suppose I have two features,one is suppressed.
I don't want suppressed features parameters.
I only need to acces to parameters those are unsuppressed.
But I get the whole parameters.
How can I separate parameters of suppressed and unsuppressed features in API.
0 Likes

No,I think you did not get my question correctly.
Let me put it in other way.

Suppose I have two features,one is suppressed.
I don't want suppressed features parameters.
I only need to acces to parameters those are unsuppressed.
But I get the whole parameters.
How can I separate parameters of suppressed and unsuppressed features in API.
Message 4 of 6
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
There isn't a way to get this information from a Parameter directly. One
option would be to iterate over all the features in a part and query the
PartFeature.Parameters property. You can then build a list of parameters
obtained from un-suppressed features. Note that this does not account for
parameters created by work features and sketches.

Sanjay-
0 Likes

There isn't a way to get this information from a Parameter directly. One
option would be to iterate over all the features in a part and query the
PartFeature.Parameters property. You can then build a list of parameters
obtained from un-suppressed features. Note that this does not account for
parameters created by work features and sketches.

Sanjay-
Message 5 of 6
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
I have done this in the past by naming convention.

Example, for say Hole1 I have a pram name Hole1Dim 1

Then you can check Hole1 suprresion state in code. If suppressed get params values for names that start with Hole1.
0 Likes

I have done this in the past by naming convention.

Example, for say Hole1 I have a pram name Hole1Dim 1

Then you can check Hole1 suprresion state in code. If suppressed get params values for names that start with Hole1.
Message 6 of 6
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
can you send me a sample code if you have.
It will be useful for me
0 Likes

can you send me a sample code if you have.
It will be useful for me

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report