Currently we are running Inventor 2011.
More and more I am seeing my VBA apps complain that they do not recognize Inventor eNumerations.
Today an app that has run flawlesslly for years suddenly did not like the following line of code
Set oEdges = oFlat.GetEdgesOfType(Inventor.FlatPatternEdgeTypeEnum.kBendUpFlatPatternEdge, True)
I had to change it to the enum value before it would compile and run.
oEdges = oFlat.GetEdgesOfType(64004, True)
Other enums appear to work fine.
Any Idea what is going on here?
Hi,
That's not a known issue, to my knowledge I've never heard of such behavior.
In VBA the enum do not require to be fully qualified, unlike in .Net.
So
oFlat.GetEdgesOfType(kBendUpFlatPatternEdge, True)
Should be valid.
Regards,
Philippe.