When using Python to add a driver to a vector, i.e. the constant offset of an array modifier, it adds drivers to all three components while I only need to drive one of them.
Is there a way to add a driver to only one component, or perhaps to add drivers to all three and then delete the unnecessary two?
Here's how I add the driver:
arr_mod = active_object.modifiers.new("Array", 'ARRAY')
fcurves = arr_mod.driver_add('constant_offset_displace')