Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
How to make fix constraint to multiple items at a time?
Solved! Go to Solution.
AFAIK, not out of the box. I'm sure it can be done by programming using VB or Toolkit or Jlink.
Or 3rd party automation like SmartAssembly, NitroCell or CreoSON.
I made a mapkey that can be run after selecting a component; it replaces its (1st) constraint set with a "fixed" constraint.
Unfortunately, it only works on a single component.
mapkey $F10 @MAPKEY_NAMEReplace 1st constraint set with Fix constraint;\
@MAPKEY_LABELImpose Fix constraint;\
~ Command `ProCmdRedefine`;\
~ Activate `main_dlg_cur` `chkbn.ScrLayout.0` 1;\
~ PopupOver `ScrLayout.1.0` `PH.INST_RMB_.l0` 1 `PH.PIM_chk.l0`;\
~ Activate `ScrLayout.1.0` `PH.DELETE_PB_.l0`;\
~ Select `ScrLayout.1.0` `PH.pop_constr_offset_type` 1 `Fixed`;\
~ Activate `main_dlg_cur` `dashInst0.stdbtn_1`;
Still, it might save you some mouse clicks...
There should be the "Fix Location" command in the right-click menu. Note it is only available if ALL the selected components are unconstrained.
It's already assembled with some other reference. I want to remove that reference and give fix constraint. Is that possible?
AFAIK, not out of the box. I'm sure it can be done by programming using VB or Toolkit or Jlink.
Or 3rd party automation like SmartAssembly, NitroCell or CreoSON.
I made a mapkey that can be run after selecting a component; it replaces its (1st) constraint set with a "fixed" constraint.
Unfortunately, it only works on a single component.
mapkey $F10 @MAPKEY_NAMEReplace 1st constraint set with Fix constraint;\
@MAPKEY_LABELImpose Fix constraint;\
~ Command `ProCmdRedefine`;\
~ Activate `main_dlg_cur` `chkbn.ScrLayout.0` 1;\
~ PopupOver `ScrLayout.1.0` `PH.INST_RMB_.l0` 1 `PH.PIM_chk.l0`;\
~ Activate `ScrLayout.1.0` `PH.DELETE_PB_.l0`;\
~ Select `ScrLayout.1.0` `PH.pop_constr_offset_type` 1 `Fixed`;\
~ Activate `main_dlg_cur` `dashInst0.stdbtn_1`;
Still, it might save you some mouse clicks...
@SN_10155555 wrote:
How to make fix constraint to multiple items at a time?
Hi,
you cannot fix constraint to multiple items at a time.