Skip to main content
6-Contributor
May 25, 2026
Question

Protoolkit equivalent for "Save as Mirror Assembly" and "Mirror part"

  • May 25, 2026
  • 2 replies
  • 94 views

Hi all,
Is there a toolkit equivalent of Creo UI operation, “Save as Mirror Assembly” or “Mirror part” available? I’m trying to automate the mirroring of an existing assembly and the associated drawing using protoolkit without recreating the model from scratch? 
After the mirror operation completes, is there a way to update the existing drawing with its dimensions to reflect the mirrored geometry?
Any pointers would be greatly appreciated.
Thank you. 

2 replies

17-Peridot
May 26, 2026

I am not recalling any way to pull this off while preserving the drawing.

If you are not finding a clean call for the Save as Mirror Assembly - Mapkeys are your friend. :)

sKarakuni6-ContributorAuthor
6-Contributor
May 27, 2026

Thanks for confirming !

RPN
18-Opal
May 28, 2026
Table Mirror:1 Common values of elements required for Mirror
-------------------------------------------------------------------------
| Element Id | Value |
|-----------------------------------------------------------------------|
| | |
| PRO_E_FEATURE_TYPE | = PRO_FEAT_SRF_MDL,if geometry is selected |
| | = PRO_FEAT_GEN_MERGE, if part is selected |
| | |
|-----------------------------------------------------------------------|
| | |
| PRO_E_SRF_TRANS_TYPE | = PRO_SURF_TRANS_TYPE_MIRROR |
| | if geometry is selected |
| | = PRO_SURF_TRANS_TYPE_PART_MIRROR |
| | if part is selected |
| | |
|-----------------------------------------------------------------------|
| | |
| PRO_E_MIRROR_REF_ITEMS | PRO_CURVE, PRO_COMP_CRV, PRO_AXIS, |
| | PRO_QUILT, PRO_DATUM_PLANE, PRO_CSYS, |
| | PRO_POINT, PRO_PART (Refer Note#1) |
| | |
|-----------------------------------------------------------------------|
| | |
| PRO_E_MIRROR_REF_PLANE | PRO_DATUM_PLANE , PRO_SURFACE ( only |
| | plane surfaces allowed ) |
| | |
|-----------------------------------------------------------------------|
| | |
| PRO_E_COPY_NO_COPY | ProMirrorCopy |
| | = PRO_MIRROR_KEEP_ORIGINAL |
| | = PRO_MIRROR_HIDE_ORIGINAL |
| | |
-------------------------------------------------------------------------


Table Mirror:2 Elements required for Mirror
-------------------------------------------------------------------------
| Element Id | Comment |
-------------------------------------------------------------------------
| PRO_E_FEATURE_TYPE : Mandatory |
-------------------------------------------------------------------------
| PRO_E_SRF_TRANS_TYPE : Mandatory |
-------------------------------------------------------------------------
| PRO_E_STD_FEATURE_NAME : Optional |
-------------------------------------------------------------------------
| PRO_E_MIRROR_REF_ITEMS : Mandatory |
-------------------------------------------------------------------------
| PRO_E_MIRROR_REF_PLANE : Mandatory |
-------------------------------------------------------------------------
| PRO_E_COPY_NO_COPY : Mandatory |
| : |
| : This element's value will not have any |
| : meaning in the case where part is |
| : selected as reference item for |
| : mirroring. |
-----------------------------------------------------------------

DD

sKarakuni6-ContributorAuthor
6-Contributor
May 28, 2026

I’ve come across this element tree but it’s not clear whether it applies in part mode or assembly mode. That being said it appears to be the only toolkit method available for mirroring. I'll give this a try and see how far I can get.
Appreciate you taking the time to point it out.