Message 1 sur 6
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Lien permanent
- Imprimer
- Signaler
I want to create work point from intersection of axis and plane. Can you give me some hint?
Sub CreateWorkPoint()
Dim oPartDoc As PartDocument
Set oPartDoc = ThisApplication.ActiveDocument
Dim oCompDef As ComponentDefinition
Set oCompDef = oPartDoc.ComponentDefinition
Dim face As Object
Set face = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kAllPlanarEntities, "Select Face")
Dim axis As Object
Set axis = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kAllPlanarEntities, "Select Axis")
Call oCompDef.WorkPoints.Addby <---- I'm stuck here
End Sub
Résolu ! Accéder à la solution.