Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I've got a part that I want to create a curve through utilizing several points created using a pattern. Is there a way to have Creo select multiple points in numerical order (based off of feature name like PNT0, PNT1, PNT2, etc. all the way through until your last point) instead of having to go through and manually select each individual point?
@jyochum67 wrote:
I've got a part that I want to create a curve through utilizing several points created using a pattern. Is there a way to have Creo select multiple points in numerical order (based off of feature name like PNT0, PNT1, PNT2, etc. all the way through until your last point) instead of having to go through and manually select each individual point?
Hi,
tip: you can create mapkey generator which generates something like following mapkey sequence (individual mapkeys use Search Tool dialog box to select specific point using its name).
mapkey b0 ~ Command `ProCmdMdlTreeSearch` ;\
mapkey(continued) ~ Open `selspecdlg0` `SelOptionRadio`;~ Close `selspecdlg0` `SelOptionRadio`;\
mapkey(continued) ~ Select `selspecdlg0` `SelOptionRadio` 1 `Point`;\
mapkey(continued) ~ Open `selspecdlg0` `LookByOptionMenu`;\
mapkey(continued) ~ Close `selspecdlg0` `LookByOptionMenu`;\
mapkey(continued) ~ Select `selspecdlg0` `LookByOptionMenu` 1 `Point`;\
mapkey(continued) ~ Update `selspecdlg0` `ExtRulesLayout.ExtBasicNameLayout.BasicNameList` \
mapkey(continued) `PNT0`;~ Activate `selspecdlg0` `EvaluateBtn`;\
mapkey(continued) ~ Activate `selspecdlg0` `ApplyBtn`;~ Activate `selspecdlg0` `CancelButton`;
mapkey b1 ~ Command `ProCmdMdlTreeSearch` ;\
mapkey(continued) ~ Open `selspecdlg0` `SelOptionRadio`;~ Close `selspecdlg0` `SelOptionRadio`;\
mapkey(continued) ~ Select `selspecdlg0` `SelOptionRadio` 1 `Point`;\
mapkey(continued) ~ Open `selspecdlg0` `LookByOptionMenu`;\
mapkey(continued) ~ Close `selspecdlg0` `LookByOptionMenu`;\
mapkey(continued) ~ Select `selspecdlg0` `LookByOptionMenu` 1 `Point`;\
mapkey(continued) ~ Update `selspecdlg0` `ExtRulesLayout.ExtBasicNameLayout.BasicNameList` \
mapkey(continued) `PNT1`;~ Activate `selspecdlg0` `EvaluateBtn`;\
mapkey(continued) ~ Activate `selspecdlg0` `ApplyBtn`;~ Activate `selspecdlg0` `CancelButton`;
mapkey b2 ~ Command `ProCmdMdlTreeSearch` ;\
mapkey(continued) ~ Open `selspecdlg0` `SelOptionRadio`;~ Close `selspecdlg0` `SelOptionRadio`;\
mapkey(continued) ~ Select `selspecdlg0` `SelOptionRadio` 1 `Point`;\
mapkey(continued) ~ Open `selspecdlg0` `LookByOptionMenu`;\
mapkey(continued) ~ Close `selspecdlg0` `LookByOptionMenu`;\
mapkey(continued) ~ Select `selspecdlg0` `LookByOptionMenu` 1 `Point`;\
mapkey(continued) ~ Update `selspecdlg0` `ExtRulesLayout.ExtBasicNameLayout.BasicNameList` \
mapkey(continued) `PNT2`;~ Activate `selspecdlg0` `EvaluateBtn`;\
mapkey(continued) ~ Activate `selspecdlg0` `ApplyBtn`;~ Activate `selspecdlg0` `CancelButton`;
mapkey bb %b0;%b1;%b2
When you load such mapkey sequence into Creo then you will be able:
If the points are all created within a single feature you can select all of the points in sequential order by selecting the feature itself. If you select the feature and then create a datum curve through points it will achieve your goal with a single selection. The order of the point selection will alter the curve path as you probably already know.
If the points are not within a single feature you can still leverage this technique of feature selection. You can select multiple datum point features and then create curve through points. Using the search tool function you can create a mapkey to select all features used to define the points and also create the curve.
Using datum point offset from csys will allow points in 3D space using cartesian, cylinder, or spherical reference frames. This in theory would allow for all of the points to be created within a single feature.