Hi LWolf,
Thank your for help, below is my code to extract all the parameters, but i am unable to get extactly how many parameters in each UDF.
pelase help me to get it
Dim oCurrentTreeNodePart
Dim MBod
Set oCurrentTreeNodePart = oCurrentTreeNode.ReferenceProduct.Parent.Part
'Debug.Print oCurrentTreeNodePart.Name
Set mBody = oCurrentTreeNodePart.MainBody
'Debug.Print mBody.Name
Set objParameters = oCurrentTreeNodePart.Parameters
' Loop on parameters to retrieve them
For j = 1 To objParameters.Count
Set objParameter = objParameters.Item(j)
strParmName = objParameter.Name
'Debug.Print strParmName
Application.StatusBar = strParmName
strParmValue = objParameter.ValueAsString
'Debug.Print strParmValue
'Debug.Print strParmName & " = " & strParmValue
Next