,
?
1 of 5 10/21/2016 4:05 AM
Add Centerlines through VBA - Autodesk Community http://forums.autodesk.com/t5/inventor-customization/add-centerlines-...
截 未命名
:
添加中心
oMarks.Add oCenterlinePt
Set oCentermark = oSheet.Centermarks(9)
Set oCenterlinePt = oSheet.CreateGeometryIntent(oCentermark)
oMarks.Add oCenterlinePt
Call oCenterlines.Add(oMarks)
oMarks.Clear
2 of 5 10/21/2016 4:05 AM
Add Centerlines through VBA - Autodesk Community http://forums.autodesk.com/t5/inventor-customization/add-centerlines-...
( )
截 未命名
截 未命名
?
!
' say you have a drawing curve segment selected on the sheet
Dim oSelectedCurve As DrawingCurve
Set oSelectedCurve = oDoc.SelectSet.Item(1).Parent
End If
iIndex = iIndex + 1
Next
3 of 5 10/21/2016 4:05 AM
Add Centerlines through VBA - Autodesk Community http://forums.autodesk.com/t5/inventor-customization/add-centerlines-...
, : ,
! ,
! ,
, ! , ,
?
!
4 of 5 10/21/2016 4:05 AM