0
좋은 오후에 발생한 사용자,CATIA V5 : 변화가
가 (부싱 길이를 선택할 수있는 "원하는 길이"매개 변수는 어셈블리에 부싱이 변경되어있는 경우 나 사용자에게 알려 드리고자합니다이 통보), 사용자는 이러한 일이 언제인지 알지 못하므로이를 알릴 필요가 있습니다. 부싱이 매개 변수화되고 다른 길이가 설계 변수 테이블에 있습니다.
let OC (integer) /*(old configuration row)*/
let NC (integer) /*(new configuration row)*/
OC = Relations\Table1005c\Configuration /*reads and stores the old configuration row*/
Relations\VB Scripts\Update_Forcado .Run() /*runs VB Script that simply updates the assembly*/
NC=Relations\Table1005c\Configuration /*reads and stores the new configuration row*/
if NC-OC <> 0 /*compares the 2 configuration rows*/
{
Message ("The Bushing has been altered")/*Informs the user that the bushing has been altered*/
}
여기
VBA를 다음과 같습니다 :
Dim productDocument1 As Document
Set productDocument1 = CATIA.ActiveDocument
Dim product1 As Product
Set product1 = productDocument1.Product
Set product1 = product1.ReferenceProduct
product1.Update
End Sub
이 작동하지 않습니다가, 누군가가 나에게 이유를 말할 수는
나는 다음과 같은 정보를 KWA의 규칙을 만들어? 또한 VB 스크립트를 사용하지 않고이 작업을 수행 할 수 있습니까?덕분에, 당신은 디자인 테이블 구성 변경이 구성 매개 변수에 의해 트리거 된 반응을 사용할 때 메시지를 표시하려면