cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Drawing Program error

tushargadhave
11-Garnet

Drawing Program error

Hi all,

I have created the following drawing program to relate part parameters to drawing.

PRODUCT:D=PRODUCT:0
REPLACES:D=REPLACES:0
REFERENCE_DRG:D=REFERENCE_DRG:0
MATERIAL:D=MATERIAL:0
SURFACE_PROTECTION:D=SURFACE_PROTECTION:0
WEIGHT:D=WEIGHT:0
OPP_HAND_DRG:D=OPP_HAND_DRG:0
REMARKS:D=REMARKS:0
PROJECT_NAME:D=PROJECT_NAME:0
DESIGN_GRP:D=DESIGN_GRP:0

DESCRIPTION:D=DESCRIPTION:0

On running this on the drawing of first part, it relates the parameters properly.

But after starting a new drawing for a new part, it does not relate at all.

Error displayed is "Program contains error"

Pl help


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Hi Tushar,

There is no need to use a drawing program to relate part parameters to the drawing. You just fill in e.g. &PRODUCT in the format or note and the drawing recognizes the model parameter value. If you fill in &PRODUCT:D it will display the contents of the drawing paramet "PRODUCT".

If you have a multiple model drawing, make sure the correct model is the active model during the creation of the note.

The extension ":0" refers to the session ID and depends on the order of bringing the models in session.That is probably why the program returns an error, it can not find the parameter &PRODUCT:0 in the drawing model since the session ID is incorrect.

The sessionID can be found throug assembly mode (relations, show, session ID, name; select name from session). The model you select to view the session ID does not have to be part of the assembly.

hope this helps.

greetings,

Patrick Brulot

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags