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.