Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Manually If I double-click on a face to select also tangented faces, overwriting take few seconds (less 2 seconds) for 20 faces.
With code below, this operation take more 16 seconds for the sames 20 faces!
Which commands is use by manual method or how improve it?
Thanks
Dim oPartDoc As PartDocument oPartDoc = ThisApplication.ActiveDocument Dim oFace As Face Try oFace = oPartDoc.SelectSet.Item(1) Catch Exit Sub End Try Dim oColorAsset As Asset Try oColorAsset = oPartDoc.AppearanceAssets.Item("Or") Catch Exit Sub End Try oFace.Appearance = oColorAsset Dim oTangentedface As Face For Each oTangentedface In oFace.TangentiallyConnectedFaces oTangentedface.Appearance = oColorAsset Next
Solved! Go to Solution.