NO
UA gives (in eco) only 50% for LH flights (100% only for LH-transatlantic Europe-USA/Canada and other UA code-share-flights with LH as carrier. And try to book those 100%-flights with the code-share-flight-nr of your Elite-program-partner for status-bonus-reason).
Even worse with Thai: only 50% in eco worldwide.
Even worse: also only 50% STATUS credit on those flights, which I consider as very unfair: they take-off the MALUS-percentage for status - but if you fly business or first they don't add the BONUS to your status-mileage. About 6 days ago I filed UA's clear answer to that theme under THAI here on Webflyer. And I wrote a (nice) letter to the THAI-office in Zurich, explaining that Mileage-policy can make a difference in costumers decision.
But you may be able to escape: with SAS (also a Star-Alliance-Partner), connecting trough Copenhague gives 100% eco-miles on UA accounts.
So I take (for example to Bangkok, HongKong, or New Delhi), instead of the direct Thai-flight from ZRH to Bangkok, or the connecting flights from LH trough FRA, the connection with SK (and even earn 500 minimum miles for the first segment ZRH-CPH).
I loose only about 1 hour 30 minutes compared to the direct flight, and the flight-time suites me better (the SK-flights leave CPH late at night, at around 10PM to the Far East) which allows you a full working day anywhere in Europe before you leave. Thai leaves Europe around midday.
On more peculiar detail: since 2 months - with Star-Alliance-around-the-world-tickets for each segment only the actual carrier is entered (they don't allow on these tickets code-share-flight-numbers anymore = you loose the status-bonus on the "other" segments). And the don't allow upgrades from business to first on this around-the-world-tarif neither anymore (they still did 3 months ago).