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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Invalid left side of assignment message in Line 5 Feature NAME id 6 of Model ASSY

nalexandru
13-Aquamarine

Invalid left side of assignment message in Line 5 Feature NAME id 6 of Model ASSY

Hi, all,

I have this weird message when I open an assy:

Line 5 Feature GROOVE id 67 of Model 120330:Invalid left side of assignment

Does anyone knows what that means? Beside that I get another one:

Could not read from Model Tree config file $GRI_ENG_CFG/tree.cfg.

which also I don't know what it means.

Thank you,

Nic.

12 REPLIES 12

Can you post some more of the PRO/PROGRAM around that feature?

And the relevant RELATIONS also?

nalexandru
13-Aquamarine
(To:HamsterNL)

Feature in Pro/Program:

IF BN1 != "No"

     IF BN2 == "180 Groove"


         ADD FEATURE (initial number 10)
         INTERNAL FEATURE ID  67


GROUP HEAD

  NO.   ELEMENT NAME  INFO                                                     
  ---   -------------  -------------                                            
   1    Name          Defined                                                  
   2    Features      Defined                                                  
   3    Construction  Defined                                                  

         NAME = GROOVE

         MEMBER OF A GROUP, NAME = GROOVE
          LEADING FEATURE OF THE GROUP: ID = 67
          LAST FEATURE OF THE GROUP: ID = 34
         END ADD


         ADD FEATURE (initial number 11)
         INTERNAL FEATURE ID  34
         FEATURE WAS CREATED IN ASSEMBLY 120330_TEMPLATE_ASM
         PARENTS = 1(#1) 3(#2) 32(#9) 33(#8) 5(#3)


CUT: Revolve

  NO.      ELEMENT NAME         INFO                                           
  ---      -------------        -------------                                  
   1       Feature Name         Defined                                        
   2       Extrude Feat type    Solid                                          
   3       Material             Remove                                         
   4       Section              Defined                                        
   4.1     Setup Plane          Defined                                        
   4.1.1   Sketching Plane      PL_AXY:F3(DATUM PLANE) ID=6                    
   4.1.2   View Direction       Side 1                                         
   4.1.3   Orientation          Top                                            
   4.1.4   Reference            PL_AYZ:F1(DATUM PLANE) ID=2                    
   4.2     Sketch               Defined                                        
   5       Feature Form         Solid                                          
   6       Material Side        Side Two                                       
   7       Revolve Axis         Defined                                        
   8       Revolve Axis Option  Internal Centerline                            
   9       Direction            Side 2                                         
   10      Angle                Defined                                        
   10.1    Side One             Defined                                        
   10.1.1  Side One Angle       None                                           
   10.2    Side Two             Defined                                        
   10.2.1  Side Two Angle       To Reference                                   
   10.2.2  Reference            PL_XY:F3(DATUM PLANE):120330_TEMPLATE_LINING ID=
   10.2.3  Rev Limit            Side Two                                       
   11      Intersect Parts      Defined                                        

         FEATURE BELONGS TO LOCAL GROUP GROOVE
         SECTION NAME = S2D0004


         FEATURE'S DIMENSIONS:
         OIL_GROOVE_HEIGHT = (Displayed:) 1.99 General_Dims (2.09 1.89)
                             (   Stored:) 1.9945 ( 0.1, -0.1 )
         HP_AUX = (Displayed:) 53.24 General_Dims (53.54 52.94)()
                  (   Stored:) 53.24 ( 0.3, -0.3 )
         d248 = (Displayed:) 33 +/-1 X 45 Deg
                (   Stored:) 32.8 ( 0.01, -0.01 )
         BACK_OF_GROOVE = (Displayed:) 0.9
                          (   Stored:) 0.9 ( 0.25, -0.25 )
         d257 = (Displayed:) 0.90 (1.0 0.8)
                (   Stored:) 0.9 ( 0.1, -0.1 )
         d259 = (Displayed:) 2.79 General_Dims (2.89 2.69)
                (   Stored:) 2.79 ( 0.1, -0.1 )
         GROOVE_RADIUS = (Displayed:) 1.00 General_Dims (1.1 0.9)R
                         (   Stored:) 1.0 ( 0.1, -0.1 )
         GROOVE_ANGLE = (Displayed:) 32.80 (33.3 32.3)
                        (   Stored:) 32.8 ( 0.5, -0.5 )
         GROOVE_WIDTH_BOTTOM = (Displayed:) 2.79 General_Dims (2.89 2.69)
                               (   Stored:) 2.79 ( 0.1, -0.1 )

         MEMBER OF A GROUP, NAME = GROOVE
          LEADING FEATURE OF THE GROUP: ID = 67
          LAST FEATURE OF THE GROUP: ID = 34
         END ADD
     END IF
END IF

Relations in pro/Program:

/*GROOVE>>>START

GROOVE_RADIUS=BP:1
GROOVE_ANGLE=BR1:1
BACK_OF_GROOVE=CU1
GROOVE_WIDTH_BOTTOM=CV1


CU3 = CU1-CU2
CU4 = CU1+CU2

CV3 = CV1-CV2
CV4 = CV1+CV2

/*GROOVE>>>FINISH

/*PARTIAL GROOVE AT JOINTS>>>START

D515 = 90 - BS1
JOINT_PARTIALGROOVE_RADIUS = BP
JOINT_PARTIALGROOVE_BOTTOMWIDTH = CV1
JOINT_PARTIALGROOVE_OPENANGLE = BR1
JOINT_PARTIALGROOVE_BACK = CU1
JOINT_PARTIALGROOVE_LENGTH = BS1

/*PARTIAL GROOVE AT JOINTS>>>FINISH

/*PARTIAL GROOVE>>>START

D517 = 180 - CW1

IF CW1 > 0
D639 = CW1
ENDIF
IF CW1 < 0
D641 = -CW1
ENDIF

D630 = BS1/2
D634 = BS1/2
BACK_OF_PARTIAL_GROOVE = CU1
PARTIAL_GROOVE_LENGTH = BS1
PARTIAL_GROOVE_RADIUS = BP
PARTIAL_GROOVE_OPENING_ANGLE = BR1
PARTIAL_GROOVE_WIDTH_BOTTOM = CV1
/*PARTIAL GROOVE>>>FINISH

(probably the first block of relations has something to do with the error)

Thank you,

Nic.

Look for the relations for the feature - these are not the part relations.

nalexandru
13-Aquamarine
(To:dschenken)

the feature is created in the assembly.

Off topic: what does the "$" means in a relation? Example:

  /*>>>>>>>>>>>>>>>>>>>>>POSITION HOLE_1

      $CELL_DA=-OIL_HOLE1_ANGLE

Kevin
12-Amethyst
(To:nalexandru)

The $ sign is needed to assign a negative value.

Relations can be created at the part level, the feature level, and the sketcher level, among others.

I think your failed relation is at the feature level.

See About Adding Relations Creo Parametric Help Center

Just a tip here: We create all our relations at PART or ASSEMBLY level. Relations "hidden" in features or sketches are hard to find.

Hi,

Line 5 Feature GROOVE id 67 of Model 120330:Invalid left side of assignment

  • probably relation problem, I can't give you more precise information without having the model


Could not read from Model Tree config file $GRI_ENG_CFG/tree.cfg

  • $GRI_ENG_CFG is call out of environment variable named GRI_ENG_CFG, which does not exist

MH


Martin Hanák

I guess there was a feature name called GROOVE that is now deleted or suppressed.

nalexandru
13-Aquamarine
(To:nalexandru)

and "Line 5" is referred to what list?

Did you look for the feature relation?

nalexandru
13-Aquamarine
(To:dschenken)

Yes. Here there are the one in the Relations block:

/*GROOVE>>>START

GROOVE_RADIUS=BP:3
GROOVE_ANGLE=BR1:3
BACK_OF_GROOVE=CU1
GROOVE_WIDTH_BOTTOM=CV1


CU3 = CU1-CU2
CU4 = CU1+CU2

CV3 = CV1-CV2
CV4 = CV1+CV2

/*GROOVE>>>FINISH

And what "Line 5" refers to? Should be a list of relations where the 5th line doesn't work right

Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags