Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Is it possible to define a coordinate/position, so that this point is automatically selected within a sketch using mapkey?
My objective is to update a curve (which already works with mapkey) and that curve is used in a sketch to extrude a part. When updating the curve you have to select the new one to replace the reference:
To prevent the user from selecting something that should not be selected, I'd like to use the mapkey to select the right curve in the sketch.
I'm using Creo 7
Thanks in advance!
@liz68 wrote:
Is it possible to define a coordinate/position, so that this point is automatically selected within a sketch using mapkey?
My objective is to update a curve (which already works with mapkey) and that curve is used in a sketch to extrude a part. When updating the curve you have to select the new one to replace the reference:
To prevent the user from selecting something that should not be selected, I'd like to use the mapkey to select the right curve in the sketch.
I'm using Creo 7
Thanks in advance!
Hi,
I guess requested action cannot be executed via mapkey. Please upload test model (packed in zip file) and record video showing your "action" ... maybe it helps other users to understand your "situation" and provide some advice.
A mapkey can record a mouse selection in the graphics window. I do not see this a viable solution for your scenario.
Have you considered using feature names or other selection filter with the find tool to implement the selection criteria? This can work and should be robust.
Hi tbraxton,
thanks for your reply.
Unfortunately, I cannot use the "Search tool" when I have a sketch open -> this option is not available:
how can I know the feature name of a curve inside a sketch?
Hi,
see uploaded video. I hope it helps you somehow.
Hello Martin,
thanks for your video!
I managed to record a video of my "actions". Unfortunately, the software I used does not show the mouse pointer. So I used the Ctrl key to show where I click.
When I try to find the curve with the "search tool" (as you showed in your video), there are only three options to choose from: 3D curve, edge and axis (see image below) and under "3D Curve" the imported curve will not be found.
In the sketch I used "Project" to create the curve from the imported one. Therefore I need to update the reference, when I have a new curve.
I hope this brings more understanding regarding my problem and thanks in advance for the help!
@liz68 wrote:
Hello Martin,
thanks for your video!
I managed to record a video of my "actions". Unfortunately, the software I used does not show the mouse pointer. So I used the Ctrl key to show where I click.
When I try to find the curve with the "search tool" (as you showed in your video), there are only three options to choose from: 3D curve, edge and axis (see image below) and under "3D Curve" the imported curve will not be found.
In the sketch I used "Project" to create the curve from the imported one. Therefore I need to update the reference, when I have a new curve.
I hope this brings more understanding regarding my problem and thanks in advance for the help!
Hi,
I am not able to reproduce your problem. I think I need your ibl files.
I uploaded video and my data. Modification of ibl file is transfered into Sketch feature automatically.
Hi,
thanks for the files.
You're rigth! it works with a triangle or a quadrangle.
But if you do the same with a circle, you'll be able to reproduce my problem.
Here is the curve that I used:
open
arclength
begin section
begin curve
0 100 0
50 86.60 0
86.60 50 0
100 0 0
begin section
begin curve
100 0 0
86.60 -50 0
50 -86.60 0
0 -100 0
begin section
begin curve
0 -100 0
-50 -86.60 0
-86.60 -50 0
-100 0 0
begin section
begin curve
-100 0 0
-86.60 50 0
-50 86.60 0
0 100 0
Cheers
Hi,
I give up. I have no other idea. Automation is probably not possible. Manual work remains...
Sounds to me like what you really want is a User Defined Feature (UDF)