Place line, with specific attributes, from GM script?

I'd like to be able to use a gm script (through an already created plugin) to place a line, with specific attributes. Basically I want to use a menu to select, for example, Feature type "Road" with attribute surface as "Paved" and road type as "primary". It that possible, or would i need to place the line and manually adjust the attributes. I see I can select certain attributes for a particular feature type, just want to speed up the process of collecting features and attributing.
Thanks!
Thanks!
Tagged:
Answers
Could you elaborate on what you mean by, "use a gm script (through an already created plugin) to place a line"? What type of plug-in are you using?
Are you saying that you want to prompt the user for specific attribute values? Can you provide a more detailed description of the work flow you are trying to create?