If you can't find anything in the Solutions database (https://solutions.industrysoftware.automation.siemens.com/) then try recording a journal (Menu -> Tools -> Journal -> Record) while you manually place a view on a drawing.
Use Preferences -> User interface -> ... to select the langauge to use while recording the journal.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
Thanks for reply.
I am new to NX customization and your code is too big. Can you give me simple code where I can to create single dimension to rectangular box. We don’t have input as any inputs you mention in setDimension Function. We need to everything base on base view of rectangular box.