Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
I'm trying to easily change the line color for FOMR and HOLE(EXTRUDE) using a combination of toolkit and mapkey.
As shown in the video, after collecting the form shape, the intended operation was attempted by changing the line color.
However, an unexpected result appeared.
If HOLE(EXTRUDE) occurs before the FORM shape, the HOLE(EXTRUDE) color is not changed.
How to make the function work smoothly...
When modeling in Creo, is it best to design the FORM first and then use HOLE(EXTRUDE)?
Thanks.
P.S. attach test mdl and source
Solved! Go to Solution.
step 1. collect hole/extrude feature and get geomitem pnt.(arc-curve origin 3d pnt.)
step 2. translate to 2d 3d pnt.
step 3. collect form feature and geomitem pnt.
step 4. translate to 2d 3d pnt.
After comparing the collected form and hole/extrude, if they match, the color change is successful even for the exture by setting the color.
Thanks.
it is a good idea to use ProGeomitemIsInactive() when visiting feature geometry. HIH.
step 1. collect hole/extrude feature and get geomitem pnt.(arc-curve origin 3d pnt.)
step 2. translate to 2d 3d pnt.
step 3. collect form feature and geomitem pnt.
step 4. translate to 2d 3d pnt.
After comparing the collected form and hole/extrude, if they match, the color change is successful even for the exture by setting the color.
Thanks.