PYTHON Syntax error. Code getting a syntax error


#1

Hi guys!
Does anybody know what is wrong with this python code?
Im getting this error.

Error: invalid syntax

This is the code:

import maya.cmds as cmds

import maya.api.OpenMaya as apiOM

import xboObjects as go
transformNodes = set(pm.ls(pCube*, type=‘transform’))
go.getNO(mesh=pPlaneShape1, transforms=transformNodes, maxDist=2)

Im trying to call a python script from my script folder.


#2

DAMN !
I forgot how hard is to post something here at CGTalk !

The code shows incorrect.

I will try to fix it.