업무 자동화/VBA, VB.NET For Creo
Regenerate 코드
ToolBOX01
2022. 12. 18. 11:59
반응형
Dim curSolid As IpfcSolid
Set curSolid = session.CurrentModel
session.SetConfigOption "regen_failure_handling", "resolve_mode"
Dim regenInstrs As New CCpfcRegenInstructions
Dim iRegenInstrs As IpfcRegenInstructions
Set iRegenInstrs = regenInstrs.Create(False, True, Nothing)
curSolid.Regenerate iRegenInstrs

반응형