Need help understanding Draft_SubelementHighlight command
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Need help understanding Draft_SubelementHighlight command
Can somebody please explain the Draft_SubelementHighlight command? I do not understand it at all.
Last edited by Roy_043 on Mon Jun 14, 2021 8:26 pm, edited 1 time in total.
Re: Need help understanding Draft_SubelementHighlight command
It was introduced by @Moult in 2019 if I can remember correctly. It is supposed to highlight base element of an object to let the user edit it with Draft subElementModifiers.
ex. if you use it on a wall it should highlight the base wire also if it is non visible, so the user can move one of its segments or its points.
ex. if you use it on a wall it should highlight the base wire also if it is non visible, so the user can move one of its segments or its points.
follow my experiments on BIM modelling for architecture design
Re: Need help understanding Draft_SubelementHighlight command
OK, I select a wall, click Draft_SubelementHighlight, the base wire colors red and its vertices become larger, and then...? Note that at this point the wall is still selected. So calling f.e. Draft_Move would mean moving the wall.
Re: Need help understanding Draft_SubelementHighlight command
OK... This is probably the intended workflow:
- Select a wall based on a Draft Wire.
- Call Draft_SubelementHighlight.
- The wire is temporarily made visible in red with larger points.
- Click in the 3D view to deselect the wall.
- Select one of the points of the wire for example. It will turn green.
- Call Draft_Move.
- Make sure to check the 'Modify subelements' option.
- Move the selected point.
- Press Escape to revert the temporary visual changes of the wire.
Re: Need help understanding Draft_SubelementHighlight command
Yes, I suppose this Is exactly the intended workflow
follow my experiments on BIM modelling for architecture design
Re: Need help understanding Draft_SubelementHighlight command
The command will also highlight Draft objects that do not have a Points property. Subelement mode does not work for those objects:
Draft_Fillet
Draft_Arc
Draft_Arc_3Points
Draft_Circle
Draft_Ellipse
Draft_Rectangle
Draft_Polygon
Draft_ShapeString
Subelement mode only works properly for the start point of the following objects. If you try to move the end point the 2nd point of the object is moved (which is a control point, not the end point):
Draft_BSpline
Draft_CubicBezCurve
Draft_BezCurve
Draft_Fillet
Draft_Arc
Draft_Arc_3Points
Draft_Circle
Draft_Ellipse
Draft_Rectangle
Draft_Polygon
Draft_ShapeString
Subelement mode only works properly for the start point of the following objects. If you try to move the end point the 2nd point of the object is moved (which is a control point, not the end point):
Draft_BSpline
Draft_CubicBezCurve
Draft_BezCurve
Re: Need help understanding Draft_SubelementHighlight command
One issue with the mentioned workflow:
The base wire of the wall (Align=Center) is highlighted and appears in the foreground, but the faces of the wall prevent the selection of the subelements of the wire in most views. Only if the bottom face of the wall is visible can all the wire's subelements be selected.
The base wire of the wall (Align=Center) is highlighted and appears in the foreground, but the faces of the wall prevent the selection of the subelements of the wire in most views. Only if the bottom face of the wall is visible can all the wire's subelements be selected.