All,
I have need to pattern features using the VB API in WildFire4. If I understand correctly, you cannot create a pattern using the VB API. Because of this limitation, I am forced to resort to the use of macros. This method works, but it requires the manual selection of feature that needs to be patterned. After the following point, the feature is prompted for.
proConn.bsession.RunMacro("#MACHINING;#UTILITIES;#PATTERN;")
How would I go about passingthe feature of interest to Pro/E once the program has a handle to it?
Thanks,
Corey
I think You have two possibilities:
1. You select the feature with VB API and a selective buffer.
session.GetCurrentSelection Buffer()
Clear selection
Add item to selective Buffer
2. You select the feature with the Search Tool inside of a Mapkey
Edit -> Search
Best regards,
Eike
Thanks. I ended up using the search tool to find the feature based on its feature number. I couldn't access the selection buffer without first activating the current window, which reset the manufacturing menu that I was using to pattern.
Thanks,
Corey