cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

VBA GTOL

ChiselnMallet1
12-Amethyst

VBA GTOL

To my surprise I found an item type of GTOL, having trouble figuring out what to set gtol to...

 

Set gtols = hole.ListSubItems(EpfcModelItemType.EpfcITEM_GTOL)

 

     Dim gtol as Ipfc????

 

Any help would be greatly appreciated!

1 REPLY 1

Not sure that you can get GTOL using this method

 

Function ListSubItems (Type as IpfcModelItemType [optional]) as IpfcModelItems [optional]

 
Lists the component model items that make up the feature.

Following are the subitems that can get listed with this method: ITEM_SURFACE, ITEM_EDGE, ITEM_QUILT, ITEM_CURVE, ITEM_POINT, ITEM_AXIS, ITEM_COORD_SYS and ITEM_DIMENSION.
Manual References:
ModelItem: Getting ModelItem Objects, ModelItem: Getting ModelItem Objects
Parameters:
Type
The type of subitem you want to find
Returns:
The list of subitems of the specified type
Top Tags