I'm not sure this is exactly what you want to do, but try this code:import arcpy
inTable = arcpy.GetParameter(0)
arcpy.SetParameter(1, inTable)
Maybe I'm confused why you're casting something to something else? If you want to inspect the attributes of the featureclass you can do it the same if its features or a table (recordset). I assume you'll be using a search cursor to loop through the attributes?And can you post a link to the doc where this isn't working? If you're using: table = arcpy.GetParameter(0)
result = table
optable = result.getOutput(0)
Result should be the result of a GP operation....result = arcpy.TableToTable_conversion('inputTable','in_memory','outputTable)
optable = result.getOutput(0)