# uvm\_config\_db#(T)::set(,string inst,,) string argument context with respect to new/create name argument

**URL:** <https://verificationacademy.com/forums/t/uvm-config-db-t-set-string-inst-string-argument-context-with-respect-to-new-create-name-argument/40305>\
**Category:** UVM\
**Tags:** UVM, uvm-uvm\_config\_db\
**Created:** [April 23, 2022, 1:28pm UTC](https://verificationacademy.com/forums/t/uvm-config-db-t-set-string-inst-string-argument-context-with-respect-to-new-create-name-argument/40305 "2022-04-23T13:28:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jkpatel](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/j/77aa72/32.png) [@jkpatel](https://verificationacademy.com/forums/u/jkpatel)\
**Post date:** [April 23, 2022, 6:04pm UTC](https://verificationacademy.com/forums/t/uvm-config-db-t-set-string-inst-string-argument-context-with-respect-to-new-create-name-argument/40305/3 "2022-04-23T18:04:13Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/uvm-config-db-t-set-string-inst-string-argument-context-with-respect-to-new-create-name-argument/40305/2):_

Thanks , I understand it is bad practice and must be avoided but this is just to understand hierarchical way of how scope will get it’s details.

so, which scope will be taken from below 2.

scope1 : top.env.agent  
scope2 : top.env.myagent

Thanks

---

_[View the full topic](https://verificationacademy.com/forums/t/uvm-config-db-t-set-string-inst-string-argument-context-with-respect-to-new-create-name-argument/40305)._
