Community
Is there a way to pull the number of fillets or chamfers from the model properties into the dimension in the drawing?
Solved! Go to Solution.
Solved by A.Acheson. Go to Solution.
Here is likely what your looking for EdgeSetCount
Syntax
FilletDefinition.EdgeSetCount() As Long
Here is VBA sample for studying.
And here is an ilogic sample untested.
' Set a reference to the compdef.
Dim compDef As PartComponentDefinition = ThisDoc.Document.ComponentDefinition
' Obtain a FilletDefinition object to use in defining the various inputs to create the fillet.
Dim filletDef As FilletDefinition = compDef.Features.FilletFeatures.CreateFilletDefinition
Dim count as Integer = filletDef.EdgeSetCount
MessageBox.Show(count)
Actually picking up the drawing curve and checking what feature created it will be another layer of complexity.
Can't find what you're looking for? Ask the community or share your knowledge.