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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Footer in Model Tree by Toolkit

GaryWei
3-Visitor

Footer in Model Tree by Toolkit

Does anybody has the experience to move feature to footer by Toolkit?

I can reorder the feature by Toolkit, but there seems does not have any function about foolter in model tree.

Regards,

Gary


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2

Gary,
I see now what you are trying to do. The footer is actually a group per
some technical support calls that I researched. Therefore you should be
able to access the footer with the ProGroup object. I have never done
this but here is the approach I would take:

Get a handle to the current model ProMdlCurrentGet().
Collect all of the groups ProSolidGroupsCollect().
Iterate through all of the groups and stop on the one named Footer
ProUdfNameGet(). I know this API says Udf but it works for local groups
as well.
Retrieve all of the features in the Footer group
ProGroupFeaturesCollect().
Remove the Footer group ProGroupUngroup(). This may fail if it's a
"special" Pro/E created group but it's worth a try.
Add your new feature to the feature array ProArrayObjectAdd().
Recreate the Footer group ProLocalGroupCreate().
Free the feature array ProArrayFree().

Please let us all know if you achieve your goal or find an alternative
solution.

Patrick Williams
Sr. Systems Engineer II
Mechanical Engineering Solutions
Missile Systems
Raytheon Company

+1 520.545.6995 (business)
+1 520.545.6399 (fax)
-

TU/M12/8
6221 S Palo Verde Rd
Tucson, AZ 85706 USA
www.raytheon.com



This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this
message in error, please so advise the sender by reply e-mail and delete
this message. Thank you for your cooperation.



Gary,
I created a PTC ticket on this one. I'll let you know (hopefully later
today) what PTC says.

Patrick Williams
Sr. Systems Engineer II
Mechanical Engineering Solutions
Missile Systems
Raytheon Company

+1 520.545.6995 (business)
+1 520.545.6399 (fax)
-

TU/M12/8
6221 S Palo Verde Rd
Tucson, AZ 85706 USA
www.raytheon.com



This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this
message in error, please so advise the sender by reply e-mail and delete
this message. Thank you for your cooperation.



Top Tags