1 Answers
A:
Use IsConsumed via Feature Participation
If your sketch or feature is used to create another feature (e.g., an extrusion), it becomes consumed and is hidden in the browser by default.
Dim oSketch As PlanarSketch = oCompDef.Sketches.Add(oPlane)
' Create extrusion that consumes the sketch
Dim oProfile As Profile = oSketch.Profiles.AddForSolid()
Dim oExtrude As ExtrudeFeature = oCompDef.Features.ExtrudeFeatures.AddByDistanceExtent(
oProfile, 1, PartFeatureExtentDirectionEnum.kPositiveExtentDirection,
PartFeatureOperationEnum.kJoinOperation
)
Result: The sketch is hidden unless the user expands the extrusion feature.
Find the Best CAD Software
Explore all products with features, pricing, reviews and more
View All SoftwareHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers