반응형
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

반응형
'업무 자동화 > VBA, VB.NET For Creo' 카테고리의 다른 글
| Feature가 종속 하는 파일 이름이 Session에 없는 경우 (0) | 2022.12.19 |
|---|---|
| regenerate Failed Feature / Component Check (0) | 2022.12.19 |
| Create Creo Parameter (0) | 2022.12.16 |
| Template 프로그램 #2 (0) | 2022.12.09 |
| Template 프로그램 #1 (0) | 2022.12.08 |