Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
You can use CurrentModel to get the model that exists in the session.
Let's assume that the model that exists in the session is an assembly.
What APIs should I using when trying to get subcomponents of a assembly (parts, drawings, assemblies, etc.)?
pfcAssemblyComponentsGetReturn? pfcAssembly?
I'll appreciate for your help.
Thanks
Any other comments?
kind regards
Solved! Go to Solution.
Hi
Could not get your first point. I mean what action you want to achieve through first point?
Refer below for other two points:
2. ProSelect() with char option[] as prt_or_asm
3. ProSolidDispCompVisit() or use ProSolidFeatVisit() with filter function such that feature type is of component type using API ProFeatureTypeGet()
HIH.
Seems you are using VB. Net... I am toolkit user and does not have API installed for VBAPI with me as of now.
For toolkit, we use ProSessionMdlList.
HIH,
Ketan
@Ketan_Lalcheta Thank you.
What APIs should I refer to if I get a list (subcomponent) for the selected item?
I am currently trying to create a parameter manager with the toolkit.
The required functionality looks like this:
1. The specific model (top-level, or sub-specific assembly)
2. Prompt window to select a specific model
3. After selecting a specific model, display the subcomponents, a text box to manage parameters, and some buttons
We would appreciate it if you could give us some good examples or API information for each function.
Let me first review protk_appls.
Your help can save me time!
Thank you.
Hi
Could not get your first point. I mean what action you want to achieve through first point?
Refer below for other two points:
2. ProSelect() with char option[] as prt_or_asm
3. ProSolidDispCompVisit() or use ProSolidFeatVisit() with filter function such that feature type is of component type using API ProFeatureTypeGet()
HIH.