Please follow the MicroStation Programming forum best practices.
Identify Your Programming Language
Are you writing MDL, C++, C#, VB.NET or MicroStation VBA?
Code Syntax Highlighting
When you post code, use the Forum advanced editor's syntax highlighting tool. That's the icon that resembles a pencil:
Surfaces and Solids
[quote user="Koalar Q"]function of replace surface in MicroStation V8i?[/quote]
Please be specific: what function in what API in MicroStation V8i?